{
  "schemaVersion": "1.0",
  "entity": "BlogPosting",
  "title": "How to Reset a Forgotten Password on Pop!_OS, Ubuntu, or Linux Mint",
  "description": "Forgot your Linux user password? Learn how to reset your password on Pop!_OS, Ubuntu, Linux Mint, and Debian using GRUB, systemd-boot init edits, or live USB chroot.",
  "author": "vd",
  "datePublished": "2026-07-02T12:00:00.000Z",
  "dateModified": "2026-07-02T12:00:00.000Z",
  "tags": [
    "Linux",
    "Ubuntu",
    "Pop_OS",
    "Linux Mint",
    "Security",
    "Troubleshooting"
  ],
  "aeoDirectAnswers": [
    {
      "question": "Is the Linux Account and Password Recoverable?",
      "answer": "When you lose your password, it is critical to distinguish between *account* recovery and *password* recovery: **Is the original password recoverable? No.** Linux stores password credentials as one-way cryptographically salted hashes (using SHA-512 or modern yescrypt algorithms) in the secure /etc/shadow file. There is no tool that can decrypt or \"reveal\" your original password. You can only overwrite it with a new one. **Is the account data recoverable? Yes.** Since your personal files (/home/username), software settings, and desktop setups remain untouched, resetting the password gives you full access back to your account without losing a single byte of data."
    },
    {
      "question": "How Do You Reset Passwords via GRUB Recovery Menu? (Ubuntu, Mint, Debian)",
      "answer": "If your system uses the **GRUB** bootloader (the standard for Ubuntu, Linux Mint, Debian, and other popular Linux distributions), you can boot directly into a root recovery shell. I've walked through this countless times when developers have panic-locked themselves out of their own machines. Turn off your computer completely. Turn it on and immediately press and hold the **Shift** key (on older BIOS systems) or tap **Esc** repeatedly (on newer UEFI systems) to display the GRUB boot menu."
    },
    {
      "question": "How Do You Reset Passwords via systemd-boot Edit? (Pop!_OS)",
      "answer": "Pop!_OS installations on modern UEFI systems utilize **systemd-boot** instead of GRUB. Tapping Shift or Escape will not open a recovery menu. Instead, you must edit the kernel parameters directly at boot time to inject a bash shell. Turn off your machine. Turn it on and immediately tap the Spacebar or Esc key repeatedly. This will open the systemd-boot menu."
    },
    {
      "question": "How Do You Reset Passwords with LUKS Encryption via Live USB?",
      "answer": "If your system uses Full Disk Encryption (LUKS), which is the default selection on Pop!_OS, you cannot edit kernel boot arguments or drop to recovery mode without unlocking the drive. You must boot from a Live USB (or the Pop!_OS Recovery Partition) and chroot (change root) into the encrypted filesystem. !Live USB Chroot Recovery Flow *Image Prompt: A premium hand-drawn sketch note diagram. A step-by-step hand-drawn workflow showing booting from a Live USB, opening a LUKS container, mounting /proc, /sys, /dev, and changing a password, illustrated with cute computers, USB drives, and folders on a cream paper background.*"
    },
    {
      "question": "How Do You Resolve GNOME Keyring Lockouts After a Reset?",
      "answer": "Once you reboot and log in using your newly configured password, you will likely see a popup warning: *\"The login keyring did not get unlocked when you logged into your computer.\"* This happens because the **GNOME Keyring** (managed by Seahorse) stores your saved Wi-Fi keys, browser passwords, and SSH credentials, and is encrypted with your *old* login password. Since you reset your login password via a root terminal, the keyring remains locked."
    },
    {
      "question": "Is my data encrypted if I reset my password via recovery mode?",
      "answer": "Resetting your user account password via recovery mode does not decrypt your home folder files if they were encrypted using ecryptfs (home directory encryption). If you use LUKS full disk encryption, you must enter the decryption passphrase at boot time before you can drop to a recovery shell."
    },
    {
      "question": "Why is Chrome/Firefox asking for the login keyring password?",
      "answer": "Your web browsers store saved passwords inside the secure GNOME Keyring. This keyring is encrypted using your old login password. When you reset your system login password using root, the keyring password is not updated, causing browser keyring prompts. You must delete or update the keyring to resolve this."
    },
    {
      "question": "Can I reset the password for a root user?",
      "answer": "Yes. If you drop into a root shell (either through TTY recovery, GRUB, or chroot), you can reset the root account password by running: ---"
    }
  ],
  "semanticFactualBody": "I have been there: a laptop sits in the back of your closet for two years. You pull it out, fire it up to retrieve an old database file, compile some legacy code, or test an environment—and you are greeted by the login screen. You type in every password permutation you have ever used, but the lock screen just shakes. You are locked out of your own machine. This exact situation happened to me recently on an old Pop!_OS development machine. Before you panic and reach for a bootable USB to wipe the drive and reinstall the operating system, stop. Linux has built-in rescue paths that let you regain control of your account.  This comprehensive guide walks through resetting forgotten user passwords on Pop!_OS, Ubuntu, Linux Mint, Debian, and other systemd-based Linux systems using verified recovery methods. If you are configuring a dual-boot setup or need to restore access to a virtualized development environment, read my previous deep-dive on How to Set Up WSL2 for Windows Developers to lay the groundwork for your Linux development environment. --- Is the Linux Account and Password Recoverable? When you lose your password, it is critical to distinguish between *account* recovery and *password* recovery: * **Is the original password recoverable? No.** Linux stores password credentials as one-way cryptographically salted hashes (using SHA-512 or modern yescrypt algorithms) in the secure /etc/shadow file. There is no tool that can decrypt or \"reveal\" your original password. You can on"
}