Changing Root Password, Port Number 22, and Creating New Root User

Posted August 2, 2013 2.4k views
Is it ok to change the root password, port number 22, and then create new root username and password? I want to do these things using PuTTY. Also, can I set up automatic login using PuTTY?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
"Is it ok to change the root password"

Not only is it okay, but you better! Follow this guide: Initial Server Setup with Ubuntu 12.04.

Then, you can set up automatic logins by following this guide: How to Create SSH Keys with PuTTY to Connect to a VPS.
by Etel Sverdlov
This tutorial covers how to login with root, how to change the root password, how to create a new user, how to give the new user root privileges, how to change the port, and how to disable root login in. This tutorial is written for Ubuntu. When you first create your server, this tutorial explains the first steps you need to take. This tutorial is written for Ubuntu 12.04.
change password root : passwd root
create new user:adduser name