4 ms·
Ask HN: How to bypass root passsw/passphrase in Ubuntu 18 GRUB for beginners?
There's user apps/desktop locked by a passphrase on an Ubuntu 18.04 after multiple unsuccessful attempts to enter user password. I can get into GRUB menu only, for root console it requires passwords. In detail the situation is described here [1].
I was curious how geniuses and PhDs of CS, as everybody here functionally is, can handle this situation.
[1]https://ubuntu-mate.community/t/is-there-a-way-to-change-root-user-password-in-grub/25204/5
- Centrino 4y agoRemove the disk, mount it on another computer, edit /etc/passwd and /etc/shadow on that mounted disk, as described here: https://unix.stackexchange.com/questions/105278/resetting-password-of-another-linux https://unix.stackexchange.com/questions/105278/resetting-pa...
- amts 4y agoWhat's the point of mounting to another computer, if it is a laptop Ubuntu (with dual boot with Windows 8) and Ubuntu partition can be remounted with write permission in GRUB?
- amts 4y agoI am actually interested why a working Ubuntu 18 password, although with user apps/Desktop locked under passphrase, after a relatively long period of non-usage stopped working. It was a sort of simple password and entering it was easy, so probability of multiple incorrect attempts should have been low. Are there some default values of incorrect password attempts/periods of non-usage etc upon installation or anything else?