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

Re: absent last login report on vtty login



On Tue, Nov 05, 2024 at 10:08:51AM -0500, Felix Miata wrote:
> 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.

In a hurry now, but this:

  https://packages.debian.org/trixie/admin/libpam-lastlog2

seems to provide a clue.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: