Re: changed shell, can't log in as root.

1998-04-30 Thread redhat
I figured it out. I had to run "sync" to flush the changes to the disk. On Thu, 30 Apr 1998, William T Wilson wrote: > On Thu, 30 Apr 1998 [EMAIL PROTECTED] wrote: > > > ok, that let me in, but when I rebooted the changes were not saved to the > > drive. is there a command I have run after I

Re: changed shell, can't log in as root.

1998-04-30 Thread Marco Shaw
No, but I hope you used the 'vipw' command to modify the /etc/passwd file. Marco >ok, that let me in, but when I rebooted the changes were not saved to the >drive. is there a command I have run after I change the /etc/passwd file? -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAIL

Re: changed shell, can't log in as root.

1998-04-30 Thread William T Wilson
On Thu, 30 Apr 1998 [EMAIL PROTECTED] wrote: > ok, that let me in, but when I rebooted the changes were not saved to the > drive. is there a command I have run after I change the /etc/passwd file? No. Are you sure you saved the file in whatever editor you used? -- PLEASE read the Red Hat

Re: changed shell, can't log in as root.

1998-04-30 Thread redhat
ok, that let me in, but when I rebooted the changes were not saved to the drive. is there a command I have run after I change the /etc/passwd file? On Thu, 30 Apr 1998, Matt Housh wrote: > > > Hold down shift when you boot. That will get you a lilo prompt. > Type 'image init=/bin/sh'. A

Re: changed shell, can't log in as root.

1998-04-30 Thread William T Wilson
On Thu, 30 Apr 1998 [EMAIL PROTECTED] wrote: > wrong path to the shell. So, now I can't log in as root. I have tried to > go into single user mode, but the delay on lilo is set to 0, and I can't So hold the shift key down while it is booting. That will give you the LILO prompt even if the del

Re: changed shell, can't log in as root.

1998-04-30 Thread Matt Housh
Hold down shift when you boot. That will get you a lilo prompt. Type 'image init=/bin/sh'. Assuming that is where sh resides, which is almost always the case, you will get a shell without login. Edit the /etc/passwd file manually to fix your shell. HTH --

Re: changed shell, can't log in as root.

1998-04-30 Thread Vidiot
>I was changing the shell for root today and I accidently typed in the >wrong path to the shell. So, now I can't log in as root. I have tried to >go into single user mode, but the delay on lilo is set to 0, and I can't >catch it before it boots. Can anyone tell me how I can get in to change >th