home bbs files messages ]

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 38 of 298   
   Bit Twister to Bit Twister   
   Re: root unable to get shell   
   13 Jul 04 17:58:56   
   
   XPost: comp.unix.questions   
   From: BitTwister@localhost.localdomain   
      
   On Tue, 13 Jul 2004 17:54:47 GMT, Bit Twister wrote:   
   > 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".   
   >   
   > well do something like   
      
   Opps forgot   
      
   /bin/bash   
   >      .  /etc/profile   
   > to set your PATH then unscramble your eggs.   
      
   --- 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