Go to main content

Managing User Accounts and User Environments in Oracle® Solaris 11.3

Exit Print View

Updated: March 2017
 
 

How to Unlock a User Account

  1. Become an administrator or log in as a user who has the User Security rights profile.

    See Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3 in Securing Users and Processes in Oracle Solaris 11.3.

  2. Check the status of the user account that you need to unlock.
    $ passwd -s username 
    username    LK 
  3. Unlock the user account.
    $ passwd -u username  
    passwd: password information changed for username
    
  4. Check if the desired user account has been unlocked.
    $ passwd -s  
    username    PS

    Note -  For more information about unlocking a user account, see Guidelines for Assigning User Names, User IDs, and Group IDs and the passwd(1) man page.