See discussions in “GRANT” and “Recovering root password”.