Previous Topic: info (User Management)--Show a User's ProfileNext Topic: destroy (User Management)--Delete an Existing User


create (User Management)--Add a New User

Add a user to the grid controller's local directory service database. The new username/password can be used to log into the grid controller through the AppLogic visual interface. The following profile properties may be set: 'pwd', 'realname', 'comment', 'sshkey', 'locale' and 'email'.

Syntax
user create <name> pwd=- [ <key1>=<value1> ... ]  
Options
<name>

Login name of the local user to add. If the user name begins with '-' (e.g., '--myname'), the <name> argument must be preceded with '--' (e.g., '-- --myname').

pwd=-

Prompt for user's password. If the standard input is not a terminal device, it will not print a prompt and expect only one copy of the password on 'stdin' (this can be used for batch operations, to set the password from a file). <keyN>=<valueN> - One or more profile property settings

locale

Specify the default locale for the user. The value should not include any specification of encoding (for example, '.UTF-8').

Examples
user create user1 pwd=-     

Add local user 'user1' and prompt for password.

Note: The user password is case-sensitive, may consist of any standard keyboard characters [a-z,A-Z,0-9,and special characters] with the exception of ' ' and must have a length between 6 and 64 characters inclusive.