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

