NAME

buru user add <username> - Add user to the user database.

OPTIONS

  • --keys <public_key_file1> <public_key_file2> <...>
    • User public key files. Can be used for authentication instead of password.
  • --keyAuth <enabled | disabled | required>
    • Enables, disables or makes public key authentication mandatory. Combine with --passwordAuth to enforce two-factor authentication.
  • --password <password>
    • Plaintext password. You will be prompted for password if not set (recommended) and public key is not set.
  • --passwordAuth <enabled | disabled | required>
    • Enables, disables or makes password authentication mandatory. Combine with --keyAuth to enforce two-factor authentication.
  • --readonly
    • Read-only access
  • --rootdir
    • Root directory to be used for the user. Use path command to specify more virtual path mappings.
  • --webadmin
    • Allows user to access web administration tool (if installed)

EXAMPLES

  • buru user add guybrush --rootdir C:\Users\guybrush --password elaine --webadmin

    • Add user 'guybrush' with home directory at 'C:\Users\guybrush' and password 'elaine'. Guybrush will use password authentication and will have access to web administration.
  • buru user add lechuck --rootdir C:\Users\lechuck --keys C:\Users\lechuck\rsa.pub

    • Add user 'lechuck' with public key stored in 'C:\Users\lechuck\rsa.pub'. Lechuck will use public key authentication

SEE ALSO

path, user delete, user list, user update