Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

    • Default: './.passwd'
  • -a, --add: Add a user. You can provide both or neither the username and/or password.
  • -d, --drop: Drop a user. You can optionally provide username or names, separated by spaces.
  • --hashed: The given password is already hashed (as is the case of a password that has been run through qbhash)
  • --list: List all users in the database then exit.


To list users:

 

BKMac:qubeMobileServer briank$ ./qubeMobileServerUserAdmin .py --list

 

+--------+------------------------------------------------------------------+
| User   | Encrypted password                                               |
+--------+------------------------------------------------------------------+
| briank | 0beb67d7b7f353f26398eff9b3bf02222aa8c2896ef0662facd9cacda6598ee4 |
| thelma | 031d73dc8c001cbac2553c8b8de126c816d3d01746135c3302b8e1cb91133c67 |
+--------+------------------------------------------------------------------+
2 users in database

...

BKMac:qubeMobileServer briank$ ./qubeMobileServerUserAdmin .py -a louise
Password:
Confirm:

+--------+------------------------------------------------------------------+
| User   | Encrypted password                                               |
+--------+------------------------------------------------------------------+
| briank | 0beb67d7b7f353f26398eff9b3bf02222aa8c2896ef0662facd9cacda6598ee4 |
| thelma | 031d73dc8c001cbac2553c8b8de126c816d3d01746135c3302b8e1cb91133c67 |
| louise | 00921df728b25f5c836543bca8b1c77bbfd19e6f3c62062d745d7e4608d9b886 |
+--------+------------------------------------------------------------------+
3 users in database. (1 user(s) added)

 

Info

You can offer new user names with the command as in the example above, or you can just use the -a option alone, in which case the utility will ask you for a username to add.

...

BKMac:qubeMobileServer briank$ ./qubeMobileServerUserAdmin .py -d thelma louise

+--------+------------------------------------------------------------------+
| User   | Encrypted password                                               |
+--------+------------------------------------------------------------------+
| briank | 0beb67d7b7f353f26398eff9b3bf02222aa8c2896ef0662facd9cacda6598ee4 |
+--------+------------------------------------------------------------------+
1 users in database. (2 user(s) removed)

...