On Mi, 09 ian 13, 11:32:02, David Guntner wrote: > > Well, it works, *almost* perfectly. If I login via SSH or on the > console in a virtual terminal (alt-F1, etc.), it works just fine. But > for some reason, if I login directly via the GUI login manager (I'm > using KDE; don't know if Gnome does this or not), then the $MAIL > variable ends up completely empty. It's probably been doing this all > along and I just never noticed it until I had made the change to Maildir > and started looking around. If I open up any kind of shell window > within the GUI that was logged into, doing an "echo $MAIL" brings back > an empty response. I can actually go so far as to do a > > su - {myself} > > 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. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
Attachment:
signature.asc
Description: Digital signature