Hi... Ugh! I forgot `su' too!! Thanks for reminding me, maybe I'll remember when/if I do that to myself. ;)
Alex On Tue, 21 Jul 1998, E.L. Meijer (Eric) wrote: > Date: Tue, 21 Jul 1998 10:24:09 +0200 (MET DST) > From: "E.L. Meijer (Eric)" <[EMAIL PROTECTED]> > To: debian <[email protected]> > Subject: Re: I've hozed my root login. > Resent-Date: 21 Jul 1998 08:24:13 -0000 > Resent-From: [email protected] > Resent-cc: recipient list not shown: ; > > > > > As root I ran chsh and accidentally entered an > > invalid shell path. chsh didn't detect this mistake > > like it does for a regular user! > > I wasn't aware of my blunder till next time I tried to > > login as root. > > I tried booting from the rescue floppy and then mounting > > my linux drive so that I might edit /etc/passwd but the > > mount did something weird, when I "cd /mnt/etc" there was > > nothing there, I mean the dir was empty, hence I couldn't > > edit anything. This "emptiness" phenomenon was also true for > > other dirs. weird! > > Any words of wisdom? > > This is way to big an operation to solve this problem. You can specify > which shell you want to su: > > su -s /bin/bash > > and you are root again. Then you can run chsh or simply edit the last > item of root in /etc/passwd. > > HTH > Eric > > -- > E.L. Meijer ([EMAIL PROTECTED]) | tel. office +31 40 2472189 > Eindhoven Univ. of Technology | tel. lab. +31 40 2475032 > Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054 > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > > -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

