I have an auto-logged in non-sudo user called "screen". I have a passwordless sudo but login-protected user called "support".
I'm pretty sure this was working fine before, somehow maybe the latest dist upgrade broke something...
If I kill X with Ctrl+Alt+Backspace, I get back to the login screen asking for an username, from there, I can login to the support account that should be protected without password! If I logout using the menu, I then get properly asked for a password. But somehow the first login is not protected correctly anymore.
Tried:
I tried the answer from this question but
sudo gpasswd -d support nopasswdloginbut I getuser 'support' is not a member of 'nopasswdlogin'Tried to remove the passwordless sudo
%sudo ALL = NOPASSWD: ALLbut it did not work either.
Config:
- my lightdm.conf:
[SeatDefaults]
allow-guest=false
autologin-user=screen
autologin-user-timeout=0
pam-service=lightdm-autologin
greeter-hide-users=true
xserver-command=X -s 0 -dpms