Home >

LunaSH Command Reference Guide > LunaSH Commands > user > user add

user add

Add a LunaSH user. Adds a new administrative LunaSH (command line) user. This command is available only to the admin account. Administrative users' names can be a single character or as many as 31 characters, chosen from letters a-z, or A-Z, numbers 0-9, the dash, the dot, or the underscore. No spaces.

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._

After the new, named administrative user is created, its default password is PASSWORD. The newly-created administrative user cannot do anything in the LunaSH until the admin user assigns it a role with the user role add command.

User Privileges

Users with the following privileges can perform this command:

Admin

Syntax

user add -username <username>

Option Shortcut Description
-username <username> -u Specifies the user name of the user to create.

Example

lunash:>user add -username james
 
Stopping sshd:                                             [  OK  ]
 
Starting sshd:                                             [  OK  ]
 
Command Result : 0 (Success)