Change a root password of a Linux/Unix OS/Server Via SSH
Edited by Mark Joel Cristobal, Charmed, Eng
Firewall protection from intruder is important but in very common way of giving some protection with a certain software in Linux is the Root/user password access in which this is very important and essential to limit the intruder in access)
Instructions
- 1The first Step is to login to the server and run the terminal or if you are using a Windows OS all you need to do is to use the Putty that will act as a terminal and connect with the SSH port which is 22
- 2if you want to change the password of a root user also then type "passwd username" without the double quotation the user pertains to the username.after you log on the server's SSH(shell) then type the bash/unix command "passwd" without the double quotation then enter and it will prompt you to enter a complex password, meaning with a combination of alpha numeric key and you're done.
- 3To test if it works then close the terminal then relogin again with the password that you used to changed.
Tips Tricks & Warnings
- Be sure that you that you will be able to remember the password the newly password that you used.
- write it manually to a piece of paper just in case that you are not familiar with the password.
If you have problems with any of the steps in this article, please ask a question for more help, or post in the comments section below.
Comments
Article Info
Categories : Linux
Recent edits by: Charmed, Mark Joel Cristobal