How do I delete all users from my computer?

While these steps will cause the first boot experience to run when you switch on the computer, these steps do not fully restore the computer to factory settings. Among other things, any OS updates, apps installed or uninstalled, and system configuration changes will be kept on the system.

Please follow this process in order to reset to factory mode:

  1. Go to terminal, you can write "terminal" on the search area that is located on the desktop
  2. Write sudo -s
  3. Write your password and press enter. Consider that nothing will be shown while you are typing
  4. Write passwd and press enter
  5. Write the new password and press enter. Consider that nothing will be shown while you are typing
  6. Confirm the password and press enter. Consider that nothing will be shown while you are typing
  7. Write exit and press enter
  8. Write exit again and then press enter 
  9. Reboot the computer
  10. When you get to the user selection, press Ctrl+alt+F2 
  11. Write root and press enter
  12. Write the password that you introduced on step 7 and press enter
  13. Write the commands ls /home this will show the name of users that you have and that you will need in the next step
  14. Write userdel -r username, where username is one of the users' names that you get in step 13th. Repeat this step until you have erased all the users that you have
  15. Confirm that you have deleted all accounts by writing ls /home then press Enter
  16. Type passwd -l root and press Enter
  17. Turn off the computer by typing shutdown -h now
  18. Turn on the computer: you should see the "Welcome to Endless" screen
Powered by Zendesk