- edit file (in notepad or notepad++):
%localappdata%\lxss\rootfs\etc\shadow
- find your normal user, for example:
user1:$jsdjksadgfhsdf.saflsdf.sadf.safd:17299:0:99999:7:::
and simply remove the hash part (below part)$jsdjksadgfhsdf.saflsdf.sadf.safd
you will see a different hash - I hope :), so should look like:user1::17299:0:99999:7:::
- Save the file
- start bash again
- sudo bash
- password this will ask for your new password without requiring previous one.
Nessun commento:
Posta un commento