How to Reset Password in Ubuntu
Applies to: Ubuntu 26.04 LTS / 24.04 LTS / 22.04 LTS / 20.04 LTS / 18.04 LTS / 16.04 LTS If you forget the password for a local Ubuntu account, you can reset it from recovery mode as long as you have access to the machine and the disk can be unlocked. The original version of this article used an old GRUB method that edited the kernel line and added rw init=/bin/bash. That approach can still work in some cases, but Ubuntu now provides a cleaner recovery-mode path that is easier to follow and less error-prone. In This Article 1. Before You Start 2. Boot Ubuntu into Recovery Mode 3. Remount the Root Filesystem 4. Reset the User Password 5. Reboot and Test 6. Full Disk Encryption 7. Key Takeaways…



