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.
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.





