PrivSep and PAM environment variable setting

Chris Adams cmadams at hiwaay.net
Sat Mar 11 02:51:45 EST 2006


I think I've seen this come up before, but I couldn't find an answer in
the archives.

I'm trying to use the PAM "pam_mail.so" module on Linux to set the MAIL
environment variable (so I don't have to try to do it in various shell
init scripts), but the MAIL setting doesn't get passed through unless I
disable PrivilegeSeparation.

Is there a way to have PAM set environment variables when PrivSep is
enabled?
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




More information about the openssh-unix-dev mailing list