Change Your Passwords in Linux [How To]

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.

Continue reading Change Your Passwords in Linux [How To]

Logon On As Different User In Linux In Same Terminal Window [Quick Tip]

I have been using Linux for quite some time and have been using flavors such as Red Hat, Fedora, Solaris and Ubuntu so thought it as a good option to give useful tips to my readers who are trying to learn Linux or have been using it for some time.

The first tip I wanted to talk was about quickly changing users on Linux without having to logout while you are using bash or any other command line interface.

Once you have logged into a terminal the owner of the terminal is the user you logged on with and if you wish to logon as another user there is no need to actually open another terminal window.

The su command

The su command allows users to directly login as root, but it can be used for other purposes too part of which we will talk in this post.

Continue reading Logon On As Different User In Linux In Same Terminal Window [Quick Tip]