Re: root shell not found



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...
.



Relevant Pages

  • Re: laptop is suddenly running very slowly
    ... >Install and run AdAware and Spybot Search and Destroy. ... commercial malware's slowdown effect is rarely extreme without being ... The fact that refreshing the desktop is slow, ... intrusions or garbage in the shell. ...
    (microsoft.public.windowsxp.general)
  • Re: FreeBSD5.4 - GUI fails
    ... I don't believe you're intended to install *everything* on the CDs. ... > ii.) FreeBSD boots with login prompt: only in shell mode,no GUI at ... For xdm and similar login managers, you need a .xsession script. ... > configuration is required, after enabling GNOME, ...
    (freebsd-questions)
  • Adding a custom application to XP Embedded
    ... since i'm new to XP Embedded, i'll ask some general questions. ... As i understood it's necessary to install the application in the XP Pro ... shell, i'll have to add a component with the prototype set to "Shell ... application directly on the running XP Embedded system. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Installing Shimano 7610 Track BB
    ... >I'm about to install a new Shimano 7610 Track bottom bracket - this is ... >is English sized going into an English BB shell. ...
    (rec.bicycles.tech)
  • Re: .Net program doesnt run
    ... > I install .NET1.1 again, because I found the program won't run, so install it again. ... > What do you mean " Is your image Winlogon based? ... Please note that to get .Net Framework installed properly you need Windows Logon component. ... - What Shell component you use? ...
    (microsoft.public.windowsxp.embedded)