Re: I forgot the root password, can not maintain my machine.
--- martin f krafft <madduck@debian.org> 的正文:> >
>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!
>
Why? I did not remount it option ro after I change
the root passwd, but it does work well. I can login
as root using new password.
_________________________________________________________
Do You Yahoo!?
世界杯风云跌宕 网站报道最爱哪家
http://sweepstakes.yahoo.com/fifa_survey
Reply to: