Header RSS Feed
» IT tipps and howto's

HowTo: Reset (forgotten) root password on a Linux system

Last Update: 15.07.2009

Boot the machine with a rescue cd/dvd and once logged in and being root in the rescue system, type the following commands:

mount /dev/sda2 /mnt
mount --bind /dev/ /mnt/dev
mount -t proc proc /mnt/proc
chroot /mnt

/dev/sda2 is in this case your affected root (/) partition.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6905 Days
until Death of Computers