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

1 Answers1

1

From a Terminal, execute
gsettings set org.gnome.desktop.lockdown disable-lock-screen false

Then, Settings -> Privacy -> Screen Lock -> [Move the slider to Off].

The discussion here tell you how to set a new root password if you've lost it: Root shell is not helping in recovering access to administrator account whose password I have lost

JasonF4
  • 548