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.
For customers who bought a computer directly from Endless in the past, or are running Endless OS 2.6 or older, please go to .
This solution should work for both dual-boot and Endless-only computers.
Print a list of block devices with Endless OS, and usernames on those devices
$ sudo -i
$ eos-list-users #eg.: Users on /dev/nvme0n1p3: administrator shared user1
eos-reset-password </path/to/the/device> <username>
sudo -i 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 path> <username>
If you don't have any way to make a bootable USB stick (advanced users only)
First, we need to enter the GRUB bootloader so that we can put the system into what is known as “single user mode”.
Perform a cold boot of the system. 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.
With the first Endless OS menu option highlighted, press e to enter edit mode for GRUB bootloader.
Scroll the cursor down to the line that begins with Linux ($root)/… Press Ctrl-e to go to the end of that line. Add an space then the following text to the end of that line:
Press F10 to boot the system.
At the root@localhost:/# prompt, type passwd , where is the username of the user whose password that needs to be reset. When prompted, enter the new password. When prompted, enter the new password again to verify that it was typed correctly.
Lastly, enter the
sync command to write all changes to the disk.
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.