disableuser(8)
System Administration 51
NAME disableuser - disable an XSCF user account
SYNOPSIS disableuser user
disableuser -h
DESCRIPTION disableuser(8) disables a local XSCF user account for subsequent logins. Current
sessions are not affected.
When an account is disabled, it cannot be used for login. This applies to console
(serial) and telnet connections, as well as the Secure Shell (SSH). XSCF Web login is
also disabled. All local XSCF account data associated with the user remains on the
system. This includes password and SSH keys. You can reenable a disabled account
using enableuser(8).
Privileges You mu st h ave useradm privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS The following option is supported:
OPERANDS The following operands are supported:
EXAMPLES EXAMPLE 1 Disabling a User Account
EXIT STATUS The following exit values are returned:
SEE ALSO adduser(8), deleteuser(8), enableuser(8), showuser(8)
-h Displays usage statement.
When used with other options or operands, an error occurs.
user Specifies a valid user name of the user account to be disabled.
XSCF> disableuser jsmith
0Successful completion.
>0 An error occurred.