[Bug 67276] Re: pam_unix returns incorrect return value when not run as root
Hello, I'm using oneiric 11.10 ; i face the same issue, logins work fine, but gnome-screensaver does not; in the auth logs i get a message saying: Aug 20 20:31:37 hostname unix_chkpwd[17080]: check pass; user unknown Aug 20 20:31:40 hostname unix_chkpwd[17081]: check pass; user unknown Aug 20 20:31:40 hostname unix_chkpwd[17081]: password check failed for user (usernameX) Aug 20 20:31:40 hostname gnome-screensaver-dialog: pam_unix(gnome-screensaver:auth): authentication failure; logname= uid=10013 euid=10013 tty=:0.0 ruser= rhost= user=usernameX Aug 20 20:31:51hostname ccreds_chkpwd[17095]: error reading cached credentials -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/67276 Title: pam_unix returns incorrect return value when not run as root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/67276/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 67276] Re: pam_unix returns incorrect return value when not run as root
[Expired for pam (Ubuntu) because there has been no activity for 60 days.] ** Changed in: pam (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/67276 Title: pam_unix returns incorrect return value when not run as root To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/67276/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 67276] Re: pam_unix returns incorrect return value when not run as root
Jerome, I'm sure you're out there, I just saw you on #multiarch ;) Can you please comment whether this is still an issue with current versions of pam_unix? ** Changed in: pam (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/67276 Title: pam_unix returns incorrect return value when not run as root -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 67276] Re: pam_unix returns incorrect return value when not run as root
Jerome, could you check whether this is still an issue with pam 1.0.1, now in intrepid? I believe that a recent code refactor upstream means that the return values will be the same when running as root or as a user. msiebuhr, you appear to be describing a separate issue. PAM does *not* read /etc/shadow except when configured to use the pam_unix module, so it sounds like you have a configuration error. -- pam_unix returns incorrect return value when not run as root https://bugs.launchpad.net/bugs/67276 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 67276] Re: pam_unix returns incorrect return value when not run as root
I've hit this bug when developing an application validating users using PAM; even when you make a /etc/pam.d/something file that uses the dummty allow everything module, PAM insists on trying to read /etc/shadow for some reason. If and when you run the application as root (or as a user in the shadow-group) no such problem exists. The postgresql-folks seem to have hit this as well: http://archives.postgresql.org/pgsql-advocacy/2003-05/msg00058.php (I did cook up some minimal files using Python-PAM to illustrate this, but unfortunately I got a little over-zealous cleaning up my code last week. No VCS-checkins as well. Æv.) -- pam_unix returns incorrect return value when not run as root https://bugs.launchpad.net/bugs/67276 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 67276] Re: pam_unix returns incorrect return value when not run as root
This is confirmed ** Changed in: pam (Ubuntu) Status: Unconfirmed = Confirmed -- pam_unix returns incorrect return value when not run as root https://launchpad.net/bugs/67276 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs