Change Your Passwords in Linux [How To]

by Keith Dsouza | Translate | Print
Tuesday, 15th Apr 2008 | Share


Share Change Your Passwords in Linux [How To] on Twitter Share Change Your Passwords in Linux [How To] on Facebook Save Change Your Passwords in Linux [How To] To Delicious Favorites Stumble Change Your Passwords in Linux [How To] Share Change Your Passwords in Linux [How To] on Digg Get Instant Updates as RSS Feeds from Techie Buzz

Creating strong passwords is not the only thing you need to do to save your accounts from being hacked or stolen, updating your passwords regularly is also something which you should consider. I usually change all my passwords atleast once in three months and use different passwords for different accounts. 

Many a times when working with Linux users do not change their passwords if they are only connecting to the Linux machine using a program like putty. Here is a quick and easy method to change your password on a Linux box.

Login to the Linux Box using SSH client

The first thing you need to do before changing the password is to login into the Linux box you want to update the password for.

Use the passwd Command

Using the passwd (case sensitive) command you can easily change your password. Once you issue the passwd command you will be prompted to enter your old password. After you do that you will be asked to enter a new password for your account and reconfirm it once again.

update-linux-passwd

After you have entered the new password do  not close the session, simply open a new session to the server and login with the new password. If something goes wrong you can rectify it in the earlier session window.

Keep tuned for more such Interesting Linux tips and tricks from Techie Buzz.



Share

5 Responses so far | Share Your Opinions!

  1. Linux Blog
    April 15th, 2008 at 10:22 pm #

    Spot on article but I’m more interested in the other tabs that you have open in your vterm window :-P Very interesting!

    Reply to this comment

  2. Eugene
    April 16th, 2008 at 3:57 am #

    “After you have entered the new password do not close the session, simply open a new session to the server and login with the new password. If something goes wrong you can rectify it in the earlier session window.” – brilliant words. Sometimes such expirience costs a lot :(

    Reply to this comment

  3. SanchezBoy
    April 24th, 2008 at 10:43 am #

    Thanks for post, for me it has appeared useful. I wait not for posts not worse.

    Reply to this comment

  4. Moldova
    May 5th, 2008 at 11:30 am #

    Great stuff. This is definitely useful.

    Reply to this comment

  5. NC Jeffrey
    October 27th, 2009 at 9:09 am #

    Thanks for posting. Worked like a charm!

    Reply to this comment

Leave a Comment

Note: We discourage users from using keywords in their names while posting comments, most of them get caught by spam, also it really would be more fruitful in knowing people who comment by their real name, rather than by using a name no one relates to. In future we reserve the right to delete comments from users using a name other than their own.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>