Change Your Passwords in Linux [How To]
By on April 15th, 2008

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.

Tags: ,
Author: Keith Dsouza Google Profile for Keith Dsouza
I am the editor-in-chief and owner of Techie Buzz. I love coding and have contributed to several open source projects in the past. You can know more about me and my projects by visiting my Personal Website. I am also a social networking enthusiast and can be found active on twitter, you can follow Keith on twitter @keithdsouza. You can click on my name to visit my Google+ profile.

Keith Dsouza has written and can be contacted at keith@techie-buzz.com.

Leave a Reply

Name (required)

Website (optional)

 
    Warning: call_user_func() expects parameter 1 to be a valid callback, function 'advanced_comment' not found or invalid function name in /home/keith/techie-buzz.com/htdocs/wp-includes/comment-template.php on line 1694
 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN