Home >

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

user add

Add a Luna shell 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 128 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 Luna Shell until the 'admin' assigns it a role with the user role add command.

Syntax

user add -username <clientname>

Parameter Shortcut Description
-username -u Specifies the user name of the user to create.

Example

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