16 Oct
2012
16 Oct
'12
5:12 p.m.
On Tuesday 16 of October 2012 10:33:53 Sébastien Leblanc wrote:
On 16 October 2012 01:42, gt <static.vortex@gmx.com> wrote:
Whenever I log in to a TTY, I get this message. I read my system mails through mutt, so i don't need this.
Pam is taking care of showing whether you have mail or not. In /etc/pam.d/system-login, comment this line:
session optional pam_mail.so dir=/var/spool/mail standard
You should not get new mail prompts anymore. Thank you for the solution! I have run into the same issue too, however, I'd like to keep the login msg when on TTY, but avoid it with kdm/graphical login prompt (new mail, and MOTD is displayed), I think this started with systemd/new kde ..?
Thank you for your time, Mark -- Marek Otahal :o)