[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where does $MAIL get set?



Andrei POPESCU grabbed a keyboard and wrote:
> On Mi, 09 ian 13, 11:32:02, David Guntner wrote:
>> and then an "echo $MAIL" it has the correct value.  It's almost like
>> somehow logging in via the KDM manager (again, haven't tested with GDM
>> since I don't use Gnome, so I don't know if the problem is repeatable
>> there), it misses that part of the PAM authentication/setup or otherwise
>> just doesn't bother to pass that variable along.  So I ultimately did
>> have to create a file in /etc/profile.d that sets $MAIL and exports it.
>>  Now, even when logging in directly to the GUI, "echo $MAIL" shows what
>> it should. :-)
> 
> kdm, gdm and friends user their own pam configuration. You probably want 
> to adjust /etc/pam.d/kdm as well.

Ah!  Didn't notice those. :-)  Added the appropriate line to the kdm
file (since that's what I use for display management; not worried about
the others), and sure enough, it all works now without having to resort
to a file in /etc/profile.d that manually sets the variable.

Thanks!

           --Dave



Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: