Re: Forgotten root password HELP

1999-09-01 Thread John Pearson
On Tue, Aug 31, 1999 at 09:31:07PM +0100, Patrick Kirk wrote > Thanks one and all. I tried two approaches: > - at LILO prompt I typed linux init=/bin/bash. This failed because the / > partition mounted read-only > - used Toms Rescue Disk. This allowed me to edit /etc/passwd and > /etc/shadow.

Re: Forgotten root password HELP

1999-09-01 Thread Peter Palfrader aka Weasel
On Tue, Aug 31, 1999 at 09:31:07PM +0100, Patrick Kirk wrote: > - at LILO prompt I typed linux init=/bin/bash. This failed because the / > partition mounted read-only just a thought: mount -o remount,rw / or did I miss something? -- Weaselhttp://www.cosy.sbg.ac.at/~ppalfr

Re: Forgotten root password HELP

1999-09-01 Thread Patrick Kirk
Toms Rescue Disk is a complete Linux system on a bootable floppy. http://www.toms.net/rb/home.html It's handy in that you can use it on any machine. Patrick

Re: Forgotten root password HELP

1999-09-01 Thread Nathan Duehr
Patrick, What's "Tom's Rescue Disk"? Is it the standard Debian Rescue image, or something else? (I missed it in your thread somewhere...) On Tue, 31 Aug 1999, Patrick Kirk wrote: > Thanks one and all. I tried two approaches: > - at LILO prompt I typed linux init=/bin/bash. This failed becau

Re: Forgotten root password HELP

1999-08-31 Thread Patrick Kirk
Thanks one and all. I tried two approaches: - at LILO prompt I typed linux init=/bin/bash. This failed because the / partition mounted read-only - used Toms Rescue Disk. This allowed me to edit /etc/passwd and /etc/shadow. Success! Thanks for the help! Patrick

Re: Forgotten root password HELP using shadow passwords

1999-08-31 Thread Brian Servis
*- On 31 Aug, Patrick Kirk wrote about "Re: Forgotten root password HELP using shadow passwords" >> Assuming you're not using shadow passwords, you'll need to boot from the > > Thanks for the reply. > > I am using shadow passwords. Does that mean I'm

Re: Forgotten root password HELP using shadow passwords

1999-08-31 Thread Patrick Kirk
> Assuming you're not using shadow passwords, you'll need to boot from the Thanks for the reply. I am using shadow passwords. Does that mean I'm unable to do as you suggest? Patrick

Re: Forgotten root password HELP

1999-08-31 Thread David Blackman
On Tue, 31 Aug 1999, Patrick Kirk wrote: 2 things you can do: pop a debian boot disk into the floppy wait untill you get to te color selction screen alt-2, enter now you have a console mount your linux partition (whichever one has etc on it) vi /etc/passwd delete what's in teh second feild so it l

Re: Forgotten root password HELP

1999-08-31 Thread Barry Platt
At 11:39 31/08/1999 +0100, you wrote: Can I recover this installation? Assuming you're not using shadow passwords, you'll need to boot from the rescue disk, switch to an alternative terminal (Alt-F2), press enter for a terminal, then mount the root partition of your hard disk. (e.g. # mkdir