According to Mike: While burning my CPU.
>
> >
> > If you read the text of the question the impression is given that "root" has
> > forgotten his passwd, which is why i explaned about root and init 1, however
> > you do not realy need to do either reboot or init 1, as you correctly point
> > out. Futher more, on Redhat systems a user cannot change his passwd when he
> > has forgotten his old passwd, i would imagen that would be the same on other
> > distributions.
> >
> Sorry. I was assuming that root was not logged in, in which case you have
> to reboot AFAIK. If root is logged in then (s)he can edit /etc/passwd or
> /etc/shadow to change his password. As you say, passwd will not allow
> root to set his passwd without knowing the old one, but you can change the
> password to a blank without knowing it by editing /etc/passwd or shadow.
No its the other way round, root can do it without knowing or needing to
type the old password first, however a "user" cannot, if a user forgets his
passwd he has to ask root to enter a new passwd with the 'passwd' program,
again there is NO need to edit /etc/passwd as root will NOT be prompted for
the old passwd, be it HIS or USERS.
>
> > > There is a command 'killall' which comes with many distributions. You can
> > > do 'killall process_name' to kill all processes with that name. A word of
> > > warning though - in Solaris and some other unices, killall kills all
> > > processes you own...
> >
> > I think we all need to remember one thing, its a "Newbie faq" so telling
> > folks to killall could have disasterous effects, remember most newbies use
> > 'root' to start with.
> >
> Muahahahahahaha. That'd be fun :) Point taken.
>
> --
> Mike <[EMAIL PROTECTED]>
>
> "If that makes any sense to you, you have a big problem."
> -- C. Durance, Computer Science 234
>
--
Regards Richard.
[EMAIL PROTECTED]