[Pkg-shadow-devel] Bug#603234: Bug#603234: [login] lastlog's login dates older than actual last login dates

Filipus Klutiero chealer at gmail.com
Fri Nov 19 22:32:08 UTC 2010


  On 2010-11-19 17:31, Nicolas François wrote:
> Hello,
>
> On Tue, Nov 16, 2010 at 11:56:24PM -0500, chealer at gmail.com wrote:
>>   On 2010-11-16 18:11, Nicolas François wrote:
>>>> its login dates are just older than actual
>>>> last login dates. There is also no single login program that I use.
>>>> I use at least kdm (KDE) to login to X :0 and su to login as root
>>>> (from konsole).
>>> [...]
>>>> So lastlog didn't change since 10 days.
>>> Can you check if this is fixed by setting UseSessReg in kdm.options,
>> Is UseSessReg documented anywhere? Here is the content of kdm.options:
> I'm not using kdm. I've not checked. I just saw UseSessReg mentionned on
> google (maybe with an old version of kdm).
>
> My guess is that UseSessReg executes sessreg, which has a manpage.
In that case I guess UseSessReg was replaced by use-sessreg, and that 
option is already set.
>>> this can be fixed by adding this line to the PAM configuration file of
>>> kdm:
>>> session  required  pam_lastlog.so silent
>> "This" cannot be fixed this way, but lastlog does become aware of
>> logins through kdm after adding that line.
> I fail to understand the above line.
> "fixed" and "lastlog does become aware of logins" looks identical in your
> use case.
Yes, but again, this is not only about kdm.
>>> You will also have to reassign this bug to kdm
>>>
>> This bug is about more than kdm, and I have no ground to argue that
>> kdm is at fault here, unless I'm missing some part of policy.
> What is at fault in the login package?
> lastlog is only a tool which permits to display the entries from
> /var/log/lastlog
lastlog's manpage does not present it this way:

> NAME
>        lastlog - reports the most recent login of all users or of a 
> given user





More information about the Pkg-shadow-devel mailing list