Home > |
---|
Delete a role from a user. This command removes a LunaSH user. Works on any named users that you have created. Does not affect the permanent users 'admin', 'operator', and 'monitor'. A user must be logged out before you can delete that user.
user delete -username <username>
Parameter | Shortcut | Description |
---|---|---|
-username | -u | Specifies the user name of the user being removed. |
lunash:>user list
Users Roles Status RADIUS
admin admin enabled no
bob monitor enabled no
john admin enabled no
monitor monitor enabled no
operator operator enabled no
Command Result : 0 (Success)
lunash:>user delete -userName john
Command Result : 0 (Success)
lunash:>user list
Users Roles Status RADIUS
admin admin enabled no
bob monitor enabled no
monitor monitor enabled no
operator operator enabled no
Command Result : 0 (Success)