I am giving my laptop with endless system away and I would like to remove all user accounts from the computer but the issue i encountered is that to remove account i have to make a new one which then i am not able to remove. I cant also remove account that i am logged into.
Could you advise me if there is any option to do it ?
If you have gone through the FBE on an Endless machine and want to delete all the users and their home directories so it will go through the FBE again on next boot, here’s one way to do so:
Log in as the primary user (not shared)
Open the Terminal (search “terminal” in the desktop search)
Type sudo su and hit Enter
Type passwd and hit Enter
Type password and hit Enter, then type password and hit Enter again. No characters will show while you’re typing it.
I have followed the steps you described, but i have encountered problems!
On step 10, when i type my password it says “Login incorrect”. I have re-done all the steps again just to be sure it wasn’t me typing the password incorrectly.
I want to point out that step 5 is non-existent for me. After i type my password and hit Enter on step 4, on the screen appears “root@endless:/sysroot/home/user#”. If type my password, the characters are shown and if i hit enter the next text is: “bash: password: command not found”.
Edit: Nevermind, i was doing something very dumb. I resolved the problem and then i could follow the rest of the steps perfectly. Thanks a lot!