Use the following procedure if you need to disable a user account.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Start the Solaris Management Console.
# /usr/sadm/bin/smc &
For more information on starting the Solaris Management Console, see How to Start the Console as Superuser or as a Role or How to Start the Solaris Management Console in a Name Service Environment.
Click the This Computer icon under the Management Tools icon in the Navigation pane.
A list of categories is displayed.
(Optional) Select the appropriate toolbox for your name service environment.
Click the System Configuration icon.
Click the User icon and provide the superuser password or the role password.
Click the User Accounts icon.
Double–click the user.
For example, select scutter2.
Select the Account is Locked option in the Account Availability section of the General tab features.