[ale] no root shell

Mazukna, Thomas Thomas.Mazukna at delta.com
Mon Jul 8 15:36:20 EDT 2002


The "normal" user is available..... its the root with misspelled shell.
its SunOS intgapp 5.8 Generic_108528-03 sun4u sparc
SUNW,UltraSPARC-IIi-cEngine

thanks,
Tomas

-----Original Message-----
From: Joseph A Knapka [mailto:jknapka at earthlink.net]
To: ale at ale.org
Sent: Monday, July 08, 2002 3:26 PM
To: Mazukna, Thomas
Cc: James P. Kinney III; 'ale at ale.org'
Subject: Re: [ale] no root shell


"James P. Kinney III" wrote:
> 
> You will need to reboot the box with an alternate boot device, i.e. toms
> root boot disk is good. Once in, edit the passwd file to point to a real
> shell.
> 
> You might be able to edit it by su. Don't use su - as this will cause it
> to try and use the params for root. Without it, it should use the same
> environment as the original user but with an effective uid of 0.

It does start a new shell though (I just tried it). So unless
you have some user available with a valid shell and the
ability to edit /etc/passwd, you are going to have to
boot the machine some other way to fix this.

-- Joe

> On Mon, 2002-07-08 at 13:27, Mazukna, Thomas wrote:
> > Hi,
> >
> > I have an issue on my hands.
> > the shell specified in passwd for root does not exist.
> > how to get into "root" ?
> >
> > thanks,
> > Tomas
> >
> > ---
> > This message has been sent through the ALE general discussion list.
> > See http://www.ale.org/mailing-lists.shtml for more info. Problems
should be
> > sent to listmaster at ale dot org.
> --
> James P. Kinney III   \Changing the mobile computing world/
> President and CEO      \          one Linux user         /
> Local Net Solutions,LLC \           at a time.          /
> 770-493-8244             \.___________________________./
> 
> GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
> <jkinney at localnetsolutions.com>
> Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
> 
>   ------------------------------------------------------------------------
>                        Name: signature.asc
>    signature.asc       Type: application/pgp-signature
>                 Description: This is a digitally signed message part

-- 
   "Thanks to Microsoft, I am now blind in both eyes. They have
    rolled back in my head so many times this week that they
    are apparently stuck there now."
      - Jonathan Rickman, regarding M$ anti-open-source PR.

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list