03 User Management
Create a user
nf user add <username> [--initial-token [token]]
Creates a user. Optionally sets an initial login token, You can specify just --initial-token with no parameter and a random one will be generated and provided in the command output. You can also specify your own token.
Failing to specify an initial token means that the server will accept the next login attempt for the user without verification.
List Users
nf user list
nf user ls
Lists the configured users along with their creation and last login times.
Set a Password
This functionality is not guarateed to exist prior to version 1.0
nf user password <user> <password>
nf user password <user> --random
nf user pw <user> <password>
nf user pw <user> --random
Command line users do not need passwords, instead relying on keyfiles. You can, however, set a password for a user, which will allow them to log in to the web interface.
This has no bearing on command line users.
Delete a user
nf user delete <username>
Deletes the specified user.