On Mon, Sep 11, Paul Eggert wrote:

> On 9/10/23 11:27, Thorsten Kukuk wrote:
> > So from my view, I currently don't see something better than wtmpdb and
> > I don't see anybody working on a different solution.
> 
> Thanks for the heads-up.
> 
> I now also see that the latest Linux-PAM release (1.5.3) deprecated 
> pam_lastlog and has suggested using pam_lastlog2 or pam_wtmpdb instead. 
> I assume Gnulib should not worry about pam_lastlog2 since it doesn't map 
> well into either utmp or wtmp.
> 
> Do any of the GCC compile farm machines[1] use wtmpdb? That would be 
> useful for testing Gnulib. I briefly looked at cfarm188 and cfarm118 
> (the two SUSE machines listed) and they didn't seem to be using wtmpdb, 
> though I don't know how to tell for sure. Is there some other easy way 
> to test changes to Gnulib that would use wtmpdb?

If the command "wtmpdb" is installed, they are using wtmpdb.
But the two listed SUSE machines are using openSUSE Leap 15.x, that's too
old.
But wtmpdb can be installed in parallel to any other solution, you  just
need to add the pam_wtmpdb module to your PAM configuration.
There is no impact to /var/log/wtmp or anything else (as long as you
don't install the last compat symlink).

  Thorsten

-- 
Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies
SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, 
Germany
Managing Director: Ivo Totev, Andrew McDonald, Werner Knoblich
(HRB 36809, AG Nürnberg)

Reply via email to