Date: Thu, 26 Jan 2006 15:45:24 +0000 (GMT) From: Chris Hedley <cbh-freebsd-current@groups.chrishedley.com> To: Brian Candler <B.Candler@pobox.com> Cc: current@freebsd.org Subject: Re: login, telnetd not updating utmp etc on -CURRENT Message-ID: <20060126154140.E54781@aga.cbhnet> In-Reply-To: <20060124190908.GA34769@uk.tiscali.com> References: <20060124113647.W84257@teapot.cbhnet> <20060124190908.GA34769@uk.tiscali.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Jan 2006, Brian Candler wrote: > On Tue, Jan 24, 2006 at 11:47:15AM +0000, Chris Hedley wrote: >> I've noticed on recent versions of -CURRENT that utmp, wtmp and lastlog >> aren't being updated by login and telnetd; however, sshd still seems to be >> working as expected. This is happening on both my systems so I'm guessing >> it's not something weird that I'm doing (although I'm open to the >> possibility that it might be!) I've only noticed this recently as prior >> to a few days back I'd only been using sshd on my FreeBSD systems, but the >> older one's telnetd is of 13-Oct-2005 vintage, if that's of any use. > > Your PAM config OK? On my (5.4) system here, I have in /etc/pam.d/login > > ... > # session > session include system > ... > > and in /etc/pam.d/system there is > > # session > #session optional pam_ssh.so > session required pam_lastlog.so no_fail > > In /etc/pam.d/telnetd there is > > # session > #session optional pam_ssh.so > session required pam_lastlog.so no_fail > > So it looks like that's how those updates are done. Oddly enough sshd is the only one mentioned that _doesn't_ have the pam_lastlog plugin listed! <Scratched head> I'll have to do a bit more rummaging around to see if there's anything that seems reasonably obvious... Chris.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060126154140.E54781>