i just release a golang client wrapper for utmpx api based on utmps, please check
https://www.github.om/ericwq/goutmp.
unfortunately, lastlog client need a lastlogd similar to utmpd/wimps.
---原始邮件---
发件人: "Eric"<ericwq057_at_qq.com>
发送时间: 2023年5月31日(周三) 晚上10:05
收件人: "Laurent Bercot"<ska-skaware_at_skarnet.org>;"skaware"<skaware_at_list.skarnet.org>;
主题: 回复: lastlog support
Dear Laurent:
I checked the shadow utils site. It's provide a lastlog CLI. while it's a lack of lastlogd similar to utmpd/wtmpd.
thanks
wang
------------------ 原始邮件 ------------------
发件人: "Eric"<ericwq057_at_qq.com>;
发送时间: 2023年5月31日(星期三) 晚上6:14
收件人: "Laurent Bercot"<ska-skaware_at_skarnet.org>; "skaware"<skaware_at_list.skarnet.org>;
主题: Re: lastlog support
thanks. I will check shadow-utilize package.
Eric Wang
---Original---
From: "Laurent Bercot"<ska-skaware_at_skarnet.org>
Date: Wed, May 31, 2023 17:27 PM
To: "skaware"<skaware_at_list.skarnet.org>;
Subject: Re: lastlog support
>is there any plan to support lastlog in utmps project?
lastlog uses a separate /var/log/lastlog file, so it's not directly
tied to utmp. If anything, it *uses* utmp, so it's the other way around:
the shadow-utils package should support utmps.
--
Laurent
Received on Wed May 31 2023 - 16:24:38 CEST