[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I forgot the root password, can not maintain my machine.



> >Normally at boot time the filesystem is mounted readonly just before
> >doing a file system check.  If that passes as it will normally then
> >the system is remounted in a read-write state.  You need to mount it
> >in a read-write state.  I think you can just run:
> >
> > mount -n -o remount,rw /  
> >
> >That will mount it readwrite and you will be able to edit the password
> >file.

make sure to remount it with option ro (instead of rw) before you exit
the shell or restart the machine!

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
"in the country of the blind,
 the one-eyed man is not king.
 he is taken to be a hallucinating lunatic."
                                                     -marshall mcluhan

Attachment: pgpQdaKGH1i0E.pgp
Description: PGP signature


Reply to: