[PLUG] What are /etc/environment and /etc/session for?

Wil Cooley wcooley at nakedape.cc
Thu Mar 1 16:55:55 UTC 2007


On Thu, 2007-03-01 at 06:17 -0800, Rich Shepard wrote:
>    Yesterday's secure log shows entries like this:
> 
> su[12036]: pam_env(su:setcred): Unable to open env file: /etc/environment:
> No such file or directory
> su[12036]: pam_unix(su:session): session opened for user root by
> rshepard(uid=1000)
> su[12036]: pam_env(su:session): Unable to open env file: /etc/environment:
> No such file or directory
> 
>    I do not recall having seen an /etc/environment or /etc/session before.
> How do I identity why PAM is trying to access them?

I don't see an /etc/session mentioned in the log messages above.  You
might start by looking at the documentation for pam_env, which should be
part of the main PAM package.

Wil
-- 
Wil Cooley <wcooley at nakedape.cc>
http://nakedape.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20070301/cc064fbf/attachment.asc>


More information about the PLUG mailing list