hi i don’t remember the password from linux, now it opens without asking for my password, but if i do certain places it requires it and i can’t work anymore, i don’t want to reinstall the system, there is some way from the terminal to solve this problem, eventually to change or delete it all important to work on the computer
Linux password lost
- Press Shift during boot to enter the Boot menu
- Press
e
to edit the entry - Append
init=/bin/sh
to the line starting with “linux” - Boot with Ctrl-X
- Enter
mount -a
- Enter
mount -o rw,remount /
- Enter
passwd USERNAME
(USERNAME is your username) - Enter the new Password
- Enter
sync
— wait a few seconds — - Power cycle your machine
thank you very much!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.