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

Re: absent last login report on vtty login



Greg Wooledge composed on 2024-11-05 08:27 (UTC-0500):

> On Tue, Nov 05, 2024 at 08:17:57 -0500, Felix Miata wrote:

>> This used to be a normal announcement on vtty login. On Trixie it's missing.
>> What's responsible for it?

> I think it's part of /etc/pam.d/login .  On Debian 12, that file
> includes this bit:

> # Prints the last login info upon successful login
> # (Replaces the `LASTLOG_ENAB' option from login.defs)
> session    optional   pam_lastlog.so

String lastlog is absent from that file here, same as the file's section you
quoted. According to apt-file, there is no pam_lastlog.so on the system either,
which in Bookworm is provided by libpam-modules, which is installed on Trixie.

> I'm not *certain* that's it, but it looks like it.

>> Is it different on Trixie?

> No idea.  I don't run testing unless it's really close to release.
It certainly appears it must work differently on Trixie.
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata


Reply to: