Permission denied when I changed the root to my name. [Closed]

Satsen - Jul 27, 2016 at 03:37 AM
Permission denied when I changed the root name in etc/passwd

What I did:

first of all I logged in as a root in the server
vim /etc/passwd
in this file first word root, I replace root to my name(satsen)
:wq! for save

Now when I am login again as root or satsen then It says: Permission denied, Please try again.
ssh root@server_ip_adress
password

ssh satsen@server_ip_adress
password

Permission denied, Please try again.

Please help me. How can I login to that server again?
See more