Re: root shell not found
- From: Bill Marcum <marcumbill@xxxxxxxxxxxxx>
- Date: Thu, 24 Jan 2008 15:09:02 -0500
On 2008-01-24, Jeff <jeep@xxxxxxxxx> wrote:
I got a laptop with fedora on it, assumed it was installed with all
the
'normal' shells but apparently it was not. I edited the /etc/passwd
file and
changed root's shell to /bin/tcsh, then when I switched users and
tried to
su again, there is no /bin/tcsh! Im so mad at myself and I dont see a
way to
fix this easily without re-installing the whole OS.
Does anyone have a good idea to fix or solve this?
Thanks for any help!
Maybe you can use sudo to edit /etc/passwd or install tcsh or even make
a temporary symlink from /bin/sh to /bin/tcsh. If not, if it boots with
Grub, press "e" to edit the kernel command line, and add "init=/bin/sh".
That should give you a shell where you can edit /etc/passwd.
Or you could boot a live CD...
.
- Follow-Ups:
- Re: root shell not found
- From: Nico Kadel-Garcia
- Re: root shell not found
- References:
- root shell not found
- From: Jeff
- root shell not found
- Prev by Date: Re: root shell not found
- Next by Date: Re: upgrading FC6 -> FC8 - Error enabling swap device hda5: no such device or address
- Previous by thread: Re: root shell not found
- Next by thread: Re: root shell not found
- Index(es):
Relevant Pages
|