Difference between revisions of "Reset root password"

From ArchWiki
Jump to: navigation, search
m
Line 1: Line 1:
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:
+
I came back from vacation after doing an Arch64 install and like the genius I forgot my root password. To recover the password, do the following:
 
* Boot your install CD and enter the bash shell.
 
* Boot your install CD and enter the bash shell.
 
* <code># mount [your root partition -- e.g. /dev/sda3] /mnt</code>
 
* <code># mount [your root partition -- e.g. /dev/sda3] /mnt</code>

Revision as of 09:38, 29 March 2009

I came back from vacation after doing an Arch64 install and like the genius I forgot my 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