Quoting Linus Karl ([EMAIL PROTECTED]):

> hi!
> forgot root password on redhat 7.3

At the LILO prompt, type "linux init=/bin/sh".  You will get a root-user
prompt with just the root filesystem mounted -- with the minor problem
that it'll be mounted read-only.  So:

# mount -o rw,remount /

...to fix that.  Now do:

# mount -a

...to mount any other filesystems.  Then:

# passwd root
# sync
# sync
# sync

(for luck  ;->  ).  Then ctrl-alt-del to reboot.

-- 
Cheers,                   The cynics among us might say:   "We laugh, 
Rick Moen                 monkeyboys -- Linux IS the mainstream UNIX now!
[EMAIL PROTECTED]       MuaHaHaHa!" but that would be rude. -- Jim Dennis
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to