I forgot my password

 

If you enter the wrong password at login, an option will be displayed to show the password hint you entered during the initial setup of Endless OS. If the hint doesn't help you, follow the first set of instructions below that applies to you.

If you bought a computer directly from Endless, or are running Endless OS 2.6

Please contact support@endlessm.com. Include a contact phone number, country and the best time to contact you. After confirming your identity, we can help you reset your password.

If you have an Endless OS USB stick

This solution should work for both dual-boot and Endless-only computers.

  • Start the computer with your Endless OS USB stick
  • Choose to Try Endless OS
  • Open the Terminal application (search for it on the desktop)
  • Run the following commands:
    • sudo -s
    • eos-list-users – this will print a list of devices (like /dev/sda2) with Endless OS, and usernames on those devices.
    • eos-reset-password <device name> <username>
  • Shut down your computer
  • Remove the USB stick
  • Turn on your computer
  • Choose your user on the login screen – you will be asked to enter a new password

If you have a USB stick for another Linux distribution

  • Boot the USB stick
  • Download eos-list-users and eos-reset-password to the home directory
  • Open a Terminal window
  • Run the following commands:
    • sudo -s
    • chmod +x eos-list-users
    • chmod +x eos-reset-password
    • ./eos-list-users – this will print a list of devices (like /dev/sda2) with Endless OS, and usernames on those devices.
    • ./eos-reset-password <device name> <username>
  • Shut down your computer
  • Remove the USB stick
  • Turn on your computer
  • Choose your user on the login screen – you will be asked to enter a new password

If you don't have any way to make a bootable USB stick (advanced users only)

  1. First, we need to enter the GRUB bootloader so that we can put the system into what is known as “single user mode”.
  2. Perform a cold boot of the system
  3. On a non-dual-boot system, entering the GRUB menu can be a bit tricky, as it requires a bit of timing. During the boot process, typically you will see a logo of the computer manufacturer. As soon as that logo disappears, press the Esc key quickly. Do not hold it down or press it multiple times. This should bring up the GRUB bootloader menu.
  4. With the first Endless OS menu option highlighted, press e to enter edit mode for GRUB bootloader.
  5. Scroll the cursor down to the line that begins with linux /boot/vmlinuz….. Press <Ctrl>e to go to the end of that line.
  6. Add the following text to the end of that line: single init=/bin/bash
  7. Press F10 to boot the system
  8. At the root@localhost:/# prompt, type passwd <username>, where <username> is the username of the user whose password that needs to be reset
  9. When prompted, enter the new password.
  10. When prompted, enter the new password again to verify that it was typed correctly.
  11. Enter the sync command to write all changes to the disk.
  12. Enter the exit command. This will cause a kernel panic because the init process is being terminated. This is okay. Perform a hard reboot of the system, then try to enter the new password for the user.



Powered by Zendesk