This topic introduces the user command usage:
- user --show [options]
- user --enable --user [options]
- user --disable --user [options]
- user --add --name [options]
- user --update --name [options]
- user --delete --name
- user --setpassword --name
- user --help
|
NOTE: If you specify a command without supplying the expected value or option, you will be prompted to provide the correct value or option. |
Description
Displays the current status of the service and root user accounts (using the user --show --users command), and also displays the login types and login times on a DR Series system (using the user --show --logins command).
Syntax
user --show --users
Result
Service Account : Disabled
Root Account : Enabled
User Name : backup_user
User Roles : ,
User Name :
User Roles : ,CIFS
User Name : _user
User Roles :
User Name : _user
User Roles :
Other Examples
Displays the current status of login attempts on a DR Series system.
user --show --logins
User Name Terminal Login Time
root pts/1 Oct 24 10:51 (10.15.13.4)
root pts/2 Oct 23 20:41 (10.18.0.1)
root pts/3 Oct 23 20:41 (10.15.0.13)
root pts/5 Oct 24 09:35 (10.20.21.6)
pts/6 Oct 24 12:32 (acme13.storage.local)
root pts/7 Oct 24 12:24 (10.18.11.12)
Description
Enables the service or root user account on a DR Series system.
Syntax
user --enable --user root
Result
"root" user enabled.
|
NOTE: To enable the service user account instead of the root user account, simply substitute the service option with the --user option, as shown in the following example: user --enable --user service |
|
NOTE: If root user or service user is enabled, it gets disabled after a reboot. You must enable it again, if required. |
Description
Disables the service or root user account on a DR Series system.
Syntax
user --disable --user root
Result
"root" user disabled.
|
NOTE: To disable the service user account instead of the root user account, simply substitute the service option with the --user option, as shown in the following example: user --disable --user service |