[LBo] Changing root password
Stefan Waidele jun.
Stefan at Waidele.info
Tue Jun 20 22:15:52 CEST 2006
Howard Rosen wrote:
> [...]
> From my readings, it seems that you cannot directly
> change root's password. First, you must start Linux as a "single user"
> and then you are able to make such a change.
You got that wrong, Howard.
If you remember root's password, then you can change it like anybody
else's. Log in or su to root, and then run the passwd-command.
If you DON'T remember root's password, then (and only then) you need to
do some fancy tricks to recover root-access to your machine.
If you don't remember a USER'S password, log in or su to root and run
"passwd username" to set a new password.
Stefan
--
http://LinuxBasics.org
http://Stefan.Waidele.info
http://Krone-Neuenburg.de
More information about the QnA
mailing list