Re: root shell not found



On Thu, 2008-01-24 at 11:40 -0800, Jeff 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!

Boot off cd in rescue mode, mount the root filesystem (if
it didn't do what for you) somewhere and edit /etc/passwd,
save change, umount, reboot... voila!


.



Relevant Pages

  • Re: Freshwater Snail Shells Eroding
    ... >I have various freshwater snail species sporadically appearing with eroding ... >shells. ... >What's the fix? ...
    (rec.aquaria.freshwater.misc)
  • root shell not found
    ... I got a laptop with fedora on it, assumed it was installed with all ... 'normal' shells but apparently it was not. ... fix this easily without re-installing the whole OS. ...
    (comp.os.linux.setup)
  • Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?
    ... I would not recommend using vipw or sed to change your users' shells. ... (Edit out any users you don't want to include): ...
    (freebsd-questions)