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).
You must have useradm privileges to run this command.
Privileges
Refer to setprivileges(8) for more information.
OPTIONS
The following option is supported:
-h
OPERANDS
The following operands are supported:
user
EXAMPLES
EXAMPLE 1
EXIT STATUS
The following exit values are returned:
0
>0
SEE ALSO
adduser(8), deleteuser(8), enableuser(8), showuser(8)
Displays usage statement.
When used with other options or operands, an error occurs.
Specifies a valid user name of the user account to be disabled.
Disabling a User Account
disableuser jsmith
XSCF>
Successful completion.
An error occurred.
disableuser(8)
System Administration
51
Need help?
Do you have a question about the Sun SPARC Enterprise M3000 and is the answer not in the manual?
Questions and answers