Select Page

How to change your password via Command Line in Linux

  1. Type in the following command: passwd and hit enter!
  2. Now you will need to enter your current password.

    Changing password for YOURNAME.
    (current) UNIX password:

    Type in your password and hit enter

  3. Now enter your new password:

    Enter new UNIX password:

  4. Retype your new password:

    Retype new UNIX password:

That’s all! Now you should be able to use your new password

Related Articles

Last Updated On April 07, 2018

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.