Sir,
we have logged with linux as root over a telnet session.But, by mistake we changed the passwd file with the intention of adding users to passwd file.But in the process the default shell in the passwd file got changed into /bin/bash:xyz in the passwd file for the root user.when the next time we logged it is not allowing to login either from main machine or from the telnet for the root user.we are unable to change the file as we could not login through the System administrator proompt. There is a passwd.bak also.what is the remedy.
Please help.
Thanks and Regards,
vivek