1

I noticed that after I removed my main user's password that I can't sudo or install new programs because it asks for a password. Ideally I want it to ask for a password to sudo but not to log in or come back from screensaver. Is this at all possible?

I am using Ubuntu 18.04.3 LTS

Crates
  • 13
  • 5
  • You can set the system not to require password on boot or resume. You don't remove password for that. – Pilot6 Dec 30 '19 at 18:33
  • How do I do that?
  • Does this also work for coming out of screen saver?
  • If so, post this as an answer.

    – Crates Dec 30 '19 at 18:36
  • System Settings -> Users and groups. That's for login. For screensaver it may be in Power settings depending on DE. – Pilot6 Dec 30 '19 at 18:38
  • I don't have these options or you are not being specific enough. I updated the question with the version I am using. Hope it helps :D – Crates Dec 30 '19 at 18:43
  • Click the down arrow at the top right of your screen, click your user name -> account settings -> Enable Automatic login – Pilot6 Dec 30 '19 at 18:51
  • That's done and it's logging in automatically, but not when returning from screensaver. I would also be interested in actually removing the password without loosing the ability to use the Ubuntu Software app – Crates Dec 30 '19 at 18:53
  • You can disable asking a password in a screensaver. You can't totally remove a password. – Pilot6 Dec 30 '19 at 18:54
  • https://askubuntu.com/questions/1029696/disable-password-request-from-from-suspend-18-04 – Pilot6 Dec 30 '19 at 18:57