User Tools

Site Tools


resetuserpassword

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

resetuserpassword [2024/08/20 11:45] – created wolforesetuserpassword [2025/07/31 08:35] (current) – Recovery mode wolfo
Line 6: Line 6:
 sudo mount /dev/sda3 /mnt/sda3</code> sudo mount /dev/sda3 /mnt/sda3</code>
   - Chroot into the system. \\ <code bash>sudo chroot /mnt/sda3</code>   - Chroot into the system. \\ <code bash>sudo chroot /mnt/sda3</code>
-  - Change the password. \\ <code bash>passwd unluckyusername</code>+  - Change the password. \\ <code bash>passwd unluckyuser</code> 
 + 
 +===== Using Recovery mode ===== 
 +  - Hold <key>Shift</key> when booting to bring up GRUB menu 
 +  - Select a kernel with recovery mode 
 +  - In the recovery menu, select root (Drop to root shell prompt) 
 +  - Confirm with <key>Enter</key> 
 +  - Mount / as writable \\ <code bash>mount -o remount,rw /</code> 
 +  - Change the password \\ <code bash>passwd unluckyuser</code>
resetuserpassword.txt · Last modified: by wolfo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki