Link to home
Start Free TrialLog in
Avatar of rebe
rebe

asked on

no login for root

i've made a mistake. i changed my login shell to tcsh in the passwd file without checking where the tcsh resides. i thought it would be the same as the default sh which is in /bin. now i am unable to login as the system say "cannot execute /bin/tcsh. no such file or directory". then the login prompt is showed up again. help is much appreciated.
Avatar of vanchai
vanchai

boot your system. at LILO prompt please type 'linux single'.
you can be root again and can change login shell.
Avatar of rebe

ASKER

this is the answer i want
vanchai, can you repost the answer, you deserve the points
ASKER CERTIFIED SOLUTION
Avatar of vanchai
vanchai

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial