Thanks to everyone for the information on fixing my problem.  I added
the mini disk to another image and mounted it to that file system and
then changed the /etc/passwd file.  I then changed everything back and
it worked great.  

I was not able to get to it last week, but I just wanted to say thanks
again

Ryan Stewart
IRCC 

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Richard Pinion
Sent: Monday, February 13, 2006 3:49 PM
To: [email protected]
Subject: Re: Hosed root shell setting in /etc/passwd

Is there such a thing as Stand Alone Edit for Linux?

>>> [EMAIL PROTECTED] 2/13/2006 3:42:08 PM >>>
If you have any other Linux guests you could link to the hosed pack in
VM and then mount it on the other image and repair /etc/passwd.

Only other thought is to try punching the initrd, kernel image, and parm
file again and once in the installer see if there's a shell or rescue
option available.

ks


On 2/13/06, Ryan Stewart <[EMAIL PROTECTED]> wrote:
>
> I somehow changed the shell directory in /etc/passwd file for root and

> = now I cannot get in as root.
>
> root:x:0:0:root:/root:q
>
> I have no other user with administrative permissions to change 
> anything. = Does anyone know how to login to root on the z890 with 
> this situation?  = I have seen some things on single user mode, but I 
> don't know how to do = that with Linux running under zVM.  This is 
> just a practice image so = it's not a big deal, but I would like to 
> know how to fix it for the = future.
>
> Thanks in advance.
>
> Ryan Stewart
> IRCC
>
> Soory about the duplicate.  forgot a subject
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions, send 
> email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or 
> visit http://www.marist.edu/htbin/wlvindex?LINUX-390
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to