Re: forgot root pass
[email protected] (David D. Smith)
| Newsgroups | gmane.org.user-groups.linux.morlug |
|---|---|
| Organization | Only myself |
| Message-ID | <[email protected]> |
"petewh@juno" == petewh@juno com <[email protected]> writes: petewh@juno> Hey I forgot my root password (11 chars random numbers petewh@juno> and letters) would it be a problem if I erased the petewh@juno> password file (what is that file by the way?). This is petewh@juno> my personal desktop computer. I did not write it down petewh@juno> because for about a year I had had it memorized but it petewh@juno> seems to have slipped my mind in the last month. Easiest recovery is to tell the kernel to use /bin/sh instead of /sbin/init to start the system. You get a nice root shell immediately after the kernel loads and no fuss with single-user-mode or anything. Send init=/bin/sh to your boot-loader (LILO, GRUB, SILO, whatever that thing they use on PPC is called, etc). Once you’ve got root, remount your filesystem read-write and synchronous (mount -o remount,rw,sync /), run passwd, and hit the power button. -- David D. Smith A man without doubt is a monster. _______________________________________________ Morlug mailing list [email protected] http://mailman.morlug.org/mailman/listinfo/morlug
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBCEdHyEJGOueZRHH4RArkWAJwOSQzXpkWMLEyR47vFeJezRIuKZACglU6p QMoH+uu01JzXpeyPfwHM6uk= =IEAA -----END PGP SIGNATURE-----