Version 2 vs 3
Version 2 vs 3
Content Changes
Content Changes
{nav icon=home, name=Main Page >
icon=wrench, name=Troubleshooting >
Forgotten user password}
How to reset user password
---
If you have forgot user password, boot PureOS in recovery mode.
NOTE: If you are using **PureBoot** it is quite simple to enter to a recovery mode, from the main menu select: `Options` → `Boot options` → `Show OS boot menu` → select "recovery" mode to boot (don't make it default).
Once you boot, you should see this:
You will be asked to enter your disk password, type it in and press ENTER. You will see this text:
```
You are in rescue mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue):
```
Simply press {key ENTER} here.
You will get into a terminal session. Now type:
{icon terminal} `passwd USERNAME`
where USERNAME is your username (NOT your full name). If you forgot your username, type:
{icon terminal} `ls /home`
which will show your home folder, its name is your username.
Then type our new password and press {key ENTER}, type it again and press {key ENTER}.
Then type:
{icon terminal} `systemctl reboot`
and press {key ENTER} to reboot. All should be okay now.
{nav icon=home, name=Main Page >
icon=wrench, name=Troubleshooting >
Forgotten user password}
How to reset user password
---
If you have forgot user password, boot PureOS in recovery mode.
NOTE: If you are using **PureBoot** it is quite simple to enter to a recovery mode, from the main menu select: `Options` → `Boot options` → `Show OS boot menu` → select "recovery" mode to boot (don't make it default).
Once you boot, you should see this:
You will be asked to enter your disk password, type it in and press ENTER. You will see this text:
```
You are in rescue mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or "exit"
to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue):
```
Simply press {key ENTER} here.
You will get into a terminal session. Now type:
{icon terminal} `passwd USERNAME`
where USERNAME is your username (NOT your full name). If you forgot your username, type:
{icon terminal} `ls /home`
which will show your home folder, its name is your username.
Then type our new password and press {key ENTER}, type it again and press {key ENTER}.
Then type:
{icon terminal} `systemctl reboot`
and press {key ENTER} to reboot. All should be okay now.