Re: I forgot the root password, can not maintain my machine.
On Sat, 2002-08-03 at 21:37, Long Li wrote:
> --- Tom Cook <tom.cook@adelaide.edu.au> 的正文:>
> Once you have a root shell, why edit /etc/passwd or
> > /etc/shadow at
> > all? Why not just use passwd to change the
> > password?
> >
> > Tom
>
> Because the passwd command can not be found using that
> way to get the root privilege. But in the normal
> model, the passwd can be used. I do not know why?
> Any other can explain it?
>
I would suspect that the path has not been configure to get to the
command using this method. Using a fully qualified path may work.
> >
> > On 0, Kent West <westk@acu.edu> wrote:
> > > Bob Proulx wrote:
> > >
> > > >Long Li <lilong76@yahoo.com.cn> [2002-08-03
> > 13:04:21 +0800]:
> > > >
> > > >
> > > >>>linux init=/bin/bash
> > > >>>
> > > >>>
> > > >>After I enter linux init=/bin/bash after lilo, I
> > got a
> > > >>console like this:
> > > >>
> > > >>init-2.03#
> > > >>
> > > >>
> > > >
> > > >Great! You are almost there.
>
>
> _________________________________________________________
> Do You Yahoo!?
> 世界杯风云跌宕 网站报道最爱哪家
> http://sweepstakes.yahoo.com/fifa_survey
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
Wolftales ,''`.
UNIX is user friendly, it's just picky about who its friends are :
:' :
`.
`'
`-
Reply to: