Skip to main content

3.5.10 Enabling/Disabling a User Account


3.5.10 Enabling/Disabling a User Account
The user accounts registered with the adduser command are enabled immediately after they are registered. You can disable registered XSCF user accounts when necessary, and then you can also enable them again.
To disable a user account, use the disableuser command. To enable a user account that was disabled, use the enableuser command. Execute the disableuser command and enableuser command with a user account that has the useradm privilege.
  1. Execute the showuser command to display information on an enabled user account.
XSCF> showuser -p jsmith
User Name: jsmith
:
  1. Execute the disableuser command to disable a user account.
    The following example specifies the user account to be disabled.
XSCF> disableuser jsmith
  1. To use the user account again, execute the enableuser command to enable the account.
    The following example specifies the user account to be enabled.
XSCF> enableuser jsmith
  1. Execute the showuser command to check information on the enabled user account.
XSCF> showuser -p jsmith
User Name: jsmith
: