Hosed root shell setting in /etc/passwd

2006-02-13 Thread Ryan Stewart
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 thing

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Grega Bremec
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Ryan Stewart 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

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Ryan Stewart
keep getting: #~> su: q: No such file or directory Ryan -Original Message- From: Linux on 390 Port on behalf of Grega Bremec Sent: Mon 02/13/2006 3:32 PM To: LINUX-390@VM.MARIST.EDU Cc: Subject: Re: Hosed root shell setting in /et

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Kyle Smith
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. k

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Post, Mark K
Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Grega Bremec Sent: Monday, February 13, 2006 3:33 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Hosed root shell setting in /etc/passwd -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Ryan Stewart wrote

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Richard Pinion
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

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Adam Thornton
On Feb 13, 2006, at 2:42 PM, Kyle Smith wrote: 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. Or you could get e2sh and repair your disk that way: http://sinenomine.net/vm/ext2free Adam -

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Eric Chevalier
Grega Bremec wrote: su -c /bin/bash --login I'm not sure this command is going to work. I think the "--login: option is going to force the system to try and load the shell defined in the passwd file *before* executing the command specified by "-c". su will fail because the passwd file entry fo

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Ryan Stewart
Thanks all I'll give those a shot. Ryan -Original Message- From: Linux on 390 Port on behalf of Post, Mark K Sent: Mon 02/13/2006 3:43 PM To: LINUX-390@VM.MARIST.EDU Cc: Subject: Re: Hosed root shell setting in /etc/p

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread shogunx
Can you pass init=1 to the kernel when you IPL it? This would drop you to single user mode, where you could make repairs. On Mon, 13 Feb 2006, Adam Thornton wrote: > On Feb 13, 2006, at 2:42 PM, Kyle Smith wrote: > > > If you have any other Linux guests you could link to the hosed pack > > in V

Re: Hosed root shell setting in /etc/passwd

2006-02-13 Thread Grega Bremec
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Eric Chevalier wrote: | Grega Bremec wrote: | |> su -c /bin/bash --login | | I'm not sure this command is going to work. I think the "--login: | option is going to force the system to try and load the shell defined | in the passwd file *before* e

Re: Hosed root shell setting in /etc/passwd

2006-02-20 Thread Ryan Stewart
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: LINUX-390@VM.MARIST.EDU Subject: Re: Hosed root shell setting in /etc/passwd Is there such a thing as Stand Alone Edit