Difference between revisions of "Reset root password"

From ArchWiki
Jump to: navigation, search
(password recovery)
 
m
Line 1: Line 1:
PASSWORD RECOVERY
+
I came back from vacation after doing an Arch64 install and like the genius I am forgot root password. To recover the password, do the following:
 +
* Boot your install CD and enter the bash shell.
 +
* <code># mount [your root partition -- e.g. /dev/sda3] /mnt</code>
 +
* <code># chroot /mnt</code>
 +
* <code># passwd root</code>
 +
* (Set a new password.)
 +
* Reboot.
  
I came back from vacation after doing a arch64 install and like the genius I am forgot root password.
+
==References==
 
+
http://bugs.archlinux.org/task/8832
boot your install cd, enter the bash shell
+
 
+
mount [your / partition -- for me /dev/sda3] /mnt
+
 
+
chroot /mnt
+
 
+
passwd root
+
 
+
[set new password]
+
 
+
reboot
+
 
+
I was told to reference http://bugs.archlinux.org/task/8832
+

Revision as of 15:02, 5 November 2008

I came back from vacation after doing an Arch64 install and like the genius I am forgot root password. To recover the password, do the following:

  • Boot your install CD and enter the bash shell.
  • # mount [your root partition -- e.g. /dev/sda3] /mnt
  • # chroot /mnt
  • # passwd root
  • (Set a new password.)
  • Reboot.

References

http://bugs.archlinux.org/task/8832