IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Tried Piggy
After a quick and easy installation, it restarted and went to the GWM login screen. Only problem is it never told me in any way shape or form what the root password was, so I couldn't get any further. I can't seem to find anything in the documentation on it either. Any clues?
~~~)-Steven----

"I want you to remember that no bastard ever won a war by dying for his country.
He won it by making the other poor dumb bastard die for his country..."

General George S. Patton
New Root password recovery

First, this is a FAQ. [link|http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=linux+root+password+recovery|Google for it]. There's even a [link|http://www.zotteljedi.de/guides/recover-passwd-mini-HOWTO.html|unofficial Root Password Recovery mini-HOWTO], though the procedure's more complex than I'd recommend.

\r\n\r\n

If you're booting with LILO, at the boot prompt, (boot:) you'll want to enter:

\r\n\r\n
\r\n
\r\nBoot:  vmlinuz single init=/bin/bash\r\n
\r\n
\r\n\r\n

This assumes your boot kernel is vmlinuz. It usually is. If the boot sequence runs without giving you a prompt, hold down the <shift> key after system POST to get the LILO prompt. Avoid this problem in future by adding a 'timeout (tenths of seconds delay)' to your /etc/lilo.conf'. I use "timeout 200" for a 20 second delay.

\r\n\r\n

Boot. You'll have bash as your root shell, and your root partition is mounted read-only. Remount it writeable, change/set your root password, mount root read-only, and hit the reset or power switch (shutdown won't work booted in this mode):

\r\n\r\n
    \r\n
  1. mount -o remount,rw /
  2. \r\n
  3. passwd
  4. \r\n
  5. mount -o remount,ro /
  6. \r\n
  7. (Hard system restart)
  8. \r\n
\r\n\r\n

There are many other ways to do this, the above sequence is among the easier. If you're booting with GRUB, the principle's the same, though the first step is slightly different -- you'll edit your boot stanze by hitting 'e' at the GRUB screen. Other steps are the same. Other alternatives include using a boot disk, an alternate boot partition, chroot mounts, etc. Which is less to suggest complexity than flexibility.

--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
     Ok Debian Lovers. :-| - (bepatient) - (42)
         IIRC, picking the 2.4 kernel in dselect - (tseliot)
         Feh. - (pwhysall) - (37)
             Or do what Peter said. :-) -NT - (admin)
             Don't "Feh" me. - (bepatient) - (35)
                 Feh - (kmself) - (34)
                     My point in the overall bitchiness... - (bepatient) - (29)
                         +5, Insightful;. -NT - (static)
                         Why Debian's installer "sucks". - (pwhysall) - (27)
                             Possibly - (bepatient) - (26)
                                 Okay... - (folkert) - (25)
                                     Ditto, with a few additions: - (admin) - (24)
                                         Right. - (bepatient) - (23)
                                             Re: Right. - (deSitter) - (5)
                                                 All you have to do, is really try the thing. - (folkert)
                                                 Begone, vile thing. - (pwhysall) - (3)
                                                     Re: Begone, vile thing. - (deSitter) - (2)
                                                         Riiiiiiight. -NT - (pwhysall) - (1)
                                                             Mostly.. - (deSitter)
                                             I am NOT defending the install. - (admin) - (10)
                                                 Ok already. - (bepatient) - (9)
                                                     "For alot of folks that probably wouldn't be true." - (admin) - (8)
                                                         Re: "For alot of folks that probably wouldn't be true." - (deSitter) - (1)
                                                             I didn't say the assertion was true. - (admin)
                                                         But it could be... - (bepatient) - (5)
                                                             BBBBBBbut.... - (folkert) - (3)
                                                                 Don't worry. - (bepatient) - (2)
                                                                     gfolkert wields his new WoMS: - (folkert) - (1)
                                                                         Hey greg, new install question (new thread) - (drewk)
                                                             ObLRPD: This is untested and you're my guinea pig. -NT - (admin)
                                             Some illumination, perhaps. - (static) - (5)
                                                 Re: Some illumination, perhaps. - (deSitter) - (4)
                                                     When was the last time? - (folkert) - (2)
                                                         Traditional = MesoMIPic Era - (deSitter)
                                                         Sun OS came on a tape in '86. More recent on CD - (hnick)
                                                     I deliberately didn't mention any vendor Unix. - (static)
                     Yep, the "piggy" install is really worth a shot, Beep. - (a6l6e6x)
                     I take direct exception. (new thread) - (folkert)
                     Tried Piggy - (Steven A S) - (1)
                         Root password recovery - (kmself)
         Hey, this hurts! Then don't do that... ;-) - (admin)
         Re: Ok Debian Lovers. :-| - (rickmoen) - (1)
             Keep reading... - (bepatient)

Urine is turned into bouyancy.
138 ms