You are not logged in.
I forgot to install csh and changed my shell to csh in the /etc/passwd file and now I can't sign in because it says file or directory not found (/bin/csh) is there anything I can do?
Offline
Sure. You can go in with a live CD like Arch's install disk and change it back, or with a Arch live CD you can chroot into the hard drive install and use pacman to install csh.
Offline
How can I chroot into the hardrive?
Offline
No livecd:
boot in single user mode (at grub menu, edit the kernel line appending the number one "1" without quotes)
This execute sulogin, sulogin first search for shell in the passwd, if it fails execute /bin/sh
Good Luck
Last edited by djgera (2009-06-18 03:50:16)
Offline
That worked great, thanks so much! Random question: Anyway to change the Percent sign (%) as the command line starter?
Offline
That can be defined in your ~/.cshrc file. Just wondering, couldn't you have logged in as root and changed your shell back?
Offline
No livecd:
boot in single user mode (at grub menu, edit the kernel line appending the number one "1" without quotes)
I always forget about that one. It really doesn't get any more simple that that.
Offline