Log in Register

Log in

In Linux
Community Member
Offline
Thursday, February 19 2015, 03:54 PM
0
Use passwd command to change the user password.
Responses (1)
  • Accepted Answer

    Tuesday, February 16 2016, 06:07 AM - #Permalink
    0
    To change your own password, enter:
    $ passwd

    To change other users password, you must login as root:
    # passwd userName
    Example:
    # passwd John

    To lock user account, enter (must be root user to type the following):
    # passwd -l username

    To unlock the account password, enter:
    # passwd -u username
    Like
    The reply is currently minimized Show
Your Reply