Home >

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

user role add

Add a role to a Luna shell administrative user. This command is available only to the original ‘admin’ account, and cannot be used to modify the "built-in" 'admin', 'user' or 'monitor' accounts (whose names are the same as their roles).

Syntax

user add -username <clientname> -role <rolename>

Parameter Shortcut Description
-username -u Specifies the the name of the user account to which the role is being added.
-role -r The user name of role being added to that user. The available roles, in descending order of capability are admin, operator and monitor.

Example

lunash:>user role add -role operator -username indigo
 
User indigo was successfully modified. 
 
Command Result : 0 (Success)