[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Lost root access :-(



Help!!!

I just installed Debian GNU/Linux, everything was going well.

Then I decided I'd change the shell for root to the C shell. So I used
emacs to change the /etc/passwd entry for root, so that root's shell is
/bin/tcsh

Then, I found that tcsh isn't in the /bin directory! And I've logged out
from the only session where I had root access. So I can't get root
access. Is there a way to login as root, and specify the shell to run?

Or any other way to copy/link a shell to /bin/tcsh ? Or to edit the
/etc/passwd file? Or to copy the /etc/passwd~ file to /etc/passwd?

Frank.



Reply to: