On Fri, Sep 28, 2007 at 09:00:26PM -0400, Frédéric Brière wrote:
> When I log in through xdm, I don't get $LANG set from /etc/environment
> as it is when logging in through login/ssh/etc.

Found it.

Since I'm using OPIE, my /etc/pam.d/common-auth looks like this:

  auth    sufficient      pam_unix.so nullok_secure
  auth    sufficient      pam_opie.so 
  auth    required        pam_deny.so

Since /etc/pam.d/xdm includes common-auth before anything else, pam_env
never gets a chance to run.

You should therefore move all requisite/required directives (ie. all of
them) *before* the includes, like login/sshd/gdm/etc. already do.


-- 
<doogie> joy/elmo: why can't the same ip be used?  was this fire so
         great that it burned the ip address?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to