Matthew Frederico wrote:
We have a local box that needs some rooting to happen to it because
nobody
knows the root password.
Boot a live CD, and do this:
mkdir /mnt/rooted
mount /dev/sda1 /mnt/rooted (replace sda1 with the partition that has
your installed root partition on it)
cd /mnt/rooted
chroot /mnt/rooted
source /etc/profile
passwd (enter the new root password twice)
exit
reboot
That's what I do -- works like a charm. Most modern distros don't let
you do the single user trick at the grub prompt anymore. Good luck!
--Dave
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/