|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: David Bartley (dtbartle
csclub.uwaterloo.ca)
Date: Wed Oct 03 2007 - 19:50:38 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If you have nfs-mounted maildir's with root_squash enabled, pam_mail will
not work, in the sense that it always displays 'No mail' regardless of
whether or not you actually have mail. This is because pam_mail scans the
maildir directory as root, and root_squash then denies pam_mail access to
the maildirs. I've included a patch that calls seteuid to switch to the
user being logged in, scans the maildir, and reverts to the previous
effective uid.
I have deployed a patched pam_mail to a few machines and have not noticed
any problems.
_______________________________________________
Pam-list mailing list
Pam-list
redhat.com
https://www.redhat.com/mailman/listinfo/pam-list
- TEXT/x-diff attachment: pam_mail_root_squash.patch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]