Re: Sources of changes to /etc/motd and of other login messages?
martin f krafft <madduck@debian.org> writes:
> also sprach Lloyd Zusman <ljz@asfast.com> [2002.12.12.1719 +0100]:
>> I mentioned in my original message about pam_lastlog.so.
>
> Sorry, didn't see that...
No problem.
>> Apparently, this line is getting ignored, and something else is causing
>> that "Last login: ..." message to get printed.
>
> on the console or through ssh?
Both.
> have you checked /etc/login.defs?
Yes. Everything is normal. The following appears at the bottom of that
file, in the "OBSOLETED BY PAM" section (among about a dozen or so
commented-out tags):
#LASTLOG_ENAB
Incidentally, the following line appears both in /etc/pam.d/login and
/etc/pam.d/ssh:
session optional pam_lastlog.so silent
No other file in /etc/pam.d has any mention of pam_lastlog.so in it.
> What 'login' are you using?
I'm not sure. It's the standard /bin/login that comes with woody. How
can I tell?
--
Lloyd Zusman
ljz@asfast.com
Reply to: