On Sun, 15 Aug 1999, Richard Lamont wrote:
> On Sun, 15 Aug 1999, Ken Wilson <[EMAIL PROTECTED]> wrote:
> > I was using the KDE utility for removing users and groups to remove postgres
> > references.  It appears when the utility closed it also clobbered the entry
> > for root.  There was an /etc/passwd.bak file created that appeared to
> > contain the old entries.
> > 
<snip> > 
> > Has anyone had this happen to them before? Is there a way of fixing it short
> > of a complete reinstall?
> 
> Yes. 
> 
> Boot your machine up from a floppy rescue disk. If you don't have one
> you can make one using the stuff in /images/rescue on the installation
> CD-ROM. (You can do this under DOS or Linux.)

  actually, if you have physical access to the linux machine, at the lilo
prompt (assuming you type linux to boot) type:

LILO: linux  init=/bin/sh


  this drops you into a shell as root. the root partition is mounted
read-only at this time. assuming your root is /dev/hda1

mount -o remount -o rw /dev/hda1 /


  then use an editor to edit passwd.

bug

Reply via email to