Friday, February 21, 2014

How do I change my Linux password

How do I change my Linux password, are you questioning about this problem? Linux password sometimes needs to be changed. It is important because changing password could make it more secure. If you need at least answer or tips here we would like to post about that one. Well, we will give you the tips related to changing your own password as well as the other users without having GUI systems.

In this case, it is possible for you to use password command in order to change it. As the system administrator, changing the password for root account or other users in Linux system is now easy. Here are some help you may need:

Passwd

OR

passwd {username}

As the first step to change password, login by using ssh client or even open a command-line terminal. To do this, select Applications > Accessories > Terminal and then type the command below:

$ passwd

Of course you as the user are prompted to type the current password. However, if the current password is correct, it will require a new password. The new password should be entered twice in order to avoid any typing errors and it will allow you to change the password.

In the other hands, it is possible for you to change Linux password especially for root’s user password. To change it, you must login first as use sudo or root user. To be a root user, enter:

$ su -1

OR

$ sudo -s

In order to change the password for root user, use:

# passwd

Note: you only could change the password if you are the root user!
Sometimes you also need to change another user’s password for your business. To change another user’s password, it is a different case. You can login as root and type with the commands below:

# passwd useNameHere

# passwd tom

# passwd jerry

Now, you can try having those commands to be applied whether or not you want to change password on Linux especially for the root’s password. It is easy for you to do those commands by only copy it. Well, this is the time to try it and enjoy a more secure Linux for your business.

We would like to get more comments if you think that the commands do not working so we could help you to solve the problem on How do I change my Linux password.