beautypg.com

User command usage, User --show [--users] [--logins, User --enable --user

Page 97

background image

user --disable --user

user --help

User Command Usage

This topic introduces the user command usage:

user --show [options]

user --enable --user [options]

user --disable --user [options]

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.

user --show [--users] [--logins]

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 : Disabled

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)

administrator pts/6 Oct 24 12:32 (acme13.storage.local)

root pts/7 Oct 24 12:24 (10.18.11.12)

user --enable --user

Description

Enables the service or root user account on a DR Series system.

Syntax

user --enable --user root

Result

"root" user enabled.

97