I accidentally edited the file
/etc/passwd on my server in the following way:
Now I cannot login as root. When I enter the
su command, the following is displayed in the console:
Cannot execute /sbin/nologin: No such file or directory
I have no physical access to server, and my user isn't in the sudoers file.
I am running Ubuntu Server Linux 2.6.24-23-server
How do I regain access to the root user?