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

Reply via email to