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

Re: absent last login report on vtty login



Felix Miata composed on 2024-11-05 13:37 (UTC-0500):

> Felix Miata composed on 2024-11-05 08:17 (UTC-0500):

>> This used to be a normal announcement on vtty login. On Trixie it's missing.
>> What's responsible for it? Is it different on Trixie? On Tumbleweed it's a
>> separate package lastlog or something like that. Search for similar for Trixie
>> comes up empty. :(

> I don't know how I managed to come up empty, but on retry after reading thread
> replies, two I should have found turned up - libpam-lastlog2 & liblastlog2-2. Now
> in /etc/pam.d/common-session I have the session optional pam_lastlog.so that Greg
> pointed to, but after systemctl daemon-reload, no change, and also no change after
> reboot. systemctl list-unit-files | grep last returns null. There's no man page
> for common-session. pam-auth-update common-session has (and had), "Maintain
> lastlog2 database" enabled, yet still no last login after another reboot to
> multi-user.target. / filesystem has Inode size 128. Could that be it? Nope. I was
> able to change it to 256 with tune2fs, but still no last login after yet another
> reboot. :(

Another apparently needed package turned up, so the total installed now is 3:
lastlog2
liblastlog2-2
libpam-lastlog2

Finally it works.
-- 
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: