03 User Management
Create a user
nf user add <username>
[
Creates a user with a randomised initial login token. The token will be provided in the command output, and you can pass this on to the user for use on their first login.
nf user add <username> --initial-token [token]]<token>
Creates a user.user Optionallywith setsa anmanually set initial login token,token.
nf canuser specifyadd just<username> --initial-no-token
Creates a user with no parameterinitial and a random one will be generated and provided in the command output. You can also specify your ownlogin token.
Failing to specify an initial tokenThis means that the server will accept the nextfirst login attempt forto the user withoutaccount verification.with minimal checks. Use this option with caution.
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.