Go to main content

Managing User Accounts and User Environments in Oracle® Solaris 11.4

Exit Print View

Updated: April 2019
 
 

How to Unlock a User Account

  1. Become an administrator or a user with the User Security rights profile.

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

  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, UIDs, and GIDs and the passwd(1) man page.