Change a root password of a Linux/Unix OS/Server Via SSH
Edited by Mark Joel Cristobal, Charmed, Anonymous
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)
- 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 22Advertisement
- 2after 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.if 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.Advertisement
- 3To test if it works then close the terminal then relogin again with the password that you used to changed.Advertisement
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 these steps, ask a question for more help, or post in the comments section below.
Categories : Linux
Recent edits by: Charmed, Mark Joel Cristobal