Skip to content

Instantly share code, notes, and snippets.

@brospars
Last active September 4, 2018 13:54
Show Gist options
  • Save brospars/b0d58af514641c80c86b2e525a4b7bd4 to your computer and use it in GitHub Desktop.
Save brospars/b0d58af514641c80c86b2e525a4b7bd4 to your computer and use it in GitHub Desktop.
Fix gnome authentication failure

This is a known bug in gnome (ubuntu 18.04) : https://wiki.ubuntu.com/DebuggingScreenLocking#line-184

  1. Check /etc/shadow permissions
# example
$ ls -l /etc/shadow
-r-------- 1 root root 1695 sept.  4 11:37 /etc/shadow

# should be
-rw-r----- 1 root shadow 1241 2010-08-22 12:43 /etc/shadow
  1. Fix permissions
$ sudo chown root:shadow /etc/shadow
$ sudo chmod 640 /etc/shadow

# You should have this
$ ls -l /etc/shadow
-rw-r----- 1 root shadow 1241 2010-08-22 12:43 /etc/shadow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment