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
-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
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
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
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
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
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
-
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
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
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
-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
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
12 matches
Mail list logo