Forgot your Ubuntu password? We'll show you how you can still get your data back..
Forgotten passwords are always annoying - especially when it comes to your own computer password. You can no longer access your important data. We'll show you two ways in which you might still be able to regain access to your Ubuntu computer.
Warning: If you have already protected your GRUB menu , these instructions will no longer work unless you know the root password. In this case you can only use the instructions for deleting the user password. If your menu is protected and you cannot remember either password, you cannot recover your password. This means that you no longer have any way of accessing your saved data.
The only way to recover your password under Ubuntu is via the recovery mode or via the so-called GRUB menu. Follow our step-by-step instructions or take a look at the brief instructions ..
If you want to change the root password, you have to choose this method. Follow our step-by-step instructions or take a look at the brief instructions .
If you only want to access a specific user account and have forgotten its password, this method is ideal. Follow our step-by-step instructions or take a look at the brief instructions ..
4.15.0-29-generic (recovery mode)
4.15.0-32-generic (recovery mode)
cat /etc/shadow
passwd [Nutzername]
[Nutzername]
mount -o remount,rw /
nano /etc/shadow
[Nutzername]:Code:17788:0:99999:7:::
[Nutzername]::17788:0:99999:7:::