Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.unix.geeks    |    The gathering of the socially-retarded    |    298 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40 of 298    |
|    Andreas Mitsis to Denis    |
|    Re: root unable to get shell    |
|    13 Jul 04 22:23:35    |
      From: amitsis@despammed.com              On 13 Jul 2004 10:34:25 -0700, "Denis" wrote:              > UNIX Gurus,       >       > I made a mistake and edited the /etc/passwd file to chnage the root       > user's shell.       > Instead of using /bin/bash, I changed it to /sbin/bash... What I       > really did was change /sh to /bash and didn't realize that I needed to       > change the dir as well.       >       > When I login or do an su I get a message from the shell stating "No       > shell".       >       > Is there a way for me to fix this without reloading the Solaris 8       > OS????              Do you have a copy of your old passwd somewhere on a floppy disk,       may be, and then boot a rescue system. I don't know :-]              Thank you,       Andreas       --       43rd Law of Computing:        Anything that can go wr       fortune: Segmentation violation -- Core dumped              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca