gnome-screensaver will not unlock with correct password while removed setuid bit of /sbin/unix_chkpwd file

Solution Verified - Updated -

Issue

  • gnome-screensaver will not unlock with correct password with below error messages:
unix_chkpwd[7449]: check pass; user unknown
unix_chkpwd[7449]: password check failed for user (suser)
gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): authentication failure; logname= uid=500 euid=500 tty=:0.0 ruser= rhost=  user=suser
gnome-screensaver-dialog: gkr-pam: unlocked 'login' keyring

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content