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

Re: root - password wiped ?? how ??



"Richard E. Hawkins Esq." <hawk@eyry.econ.iastate.edu> writes:

> > Thanx but nope, thats not the problem, sysklog 1.3-30 is installed and
> > permissions
> 
> > Any other takers >;0)
> 
> I'll take another swing :)
> 
> Could something have switched you to/from shadow passwrds?  This
> is another popular way to loose your root password :)
> 
> If you're not using shadow passwords, just boot from a rescue
> disk, edit the password file, delete the root password, and reboot.
> You will have no password for root, and can now login as root
> and rest it.
> 
> I assume it's possible to eidt your password frile from a rescue
> disk if you have shadow passwords, but it bats me how.  Maybe
> delete the passwd for root in /etc/shadow?

You just need to delete the "x" in the password field in /etc/passwd - 
that causes /etc/shadow to not be used for that account.


Reply to: