Results 1 to 3 of 3
I changed my shell to /bin/zsh from /bin/bash while logged in as root... now when I try to log back in I'm completely locked out... I attempted to get root ...
- 05-31-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 3
No zsh shell...
I changed my shell to /bin/zsh from /bin/bash while logged in as root... now when I try to log back in I'm completely locked out... I attempted to get root access thru logging on to another user account but when I type su, then my password I get the response "Cannot execute /bin/zsh: No such file or directory". Can someone tell me how to get around this? I'd hate to lose all my files and tweaking I've done. By the way, I'm using MEPIS 3.4.3. Any help would be GREATLY appreciated.
- 05-31-2007 #2
I guess you could use:
to get a root shell so you can fix the problem, but you could also just use the '-c <command>' option to execute a command that will reset your shell.Code:su -l root -c /bin/bash
- 05-31-2007 #3Just Joined!
- Join Date
- May 2007
- Posts
- 3
Thanks for your quick reply nalg... I used the commands and just got back into my root account... I'll be VERY careful from now on when changing shells and probably just stick with /bash for awhile... I just can't figure out why /zsh was in the list of available shells (from the command cat /etc/shells) if it wasn't installed??? Anyhow, thanks again.



