Re: No "you have new mail" message on login

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





2010/3/30 Ian Masters <ian@xxxxxxxxxxx>
To answer my own mail ...

I've never had to do this before but this is what did the trick to show mail on
login and ssh login:

/etc/pam.d/login - add the following line:
session    optional     pam_mail.so standard

/etc/pam.d/sshd - add the following line:
session    optional     pam_mail.so standard noenv

For anyone who's interested.


thank you!



--
Among the maxims on Lord Naoshige's wall, there was this one: "Matters of great concern should be treated lightly." Master Ittei commented, "Matters of small concern should be treated seriously."
(Ghost Dog : The Way of The Samurai)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux