Report

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

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?

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!