Re: login, telnetd not updating utmp etc on -CURRENT
- From: Brian Candler <B.Candler@xxxxxxxxx>
- Date: Thu, 26 Jan 2006 20:05:04 +0000
On Thu, Jan 26, 2006 at 03:45:24PM +0000, Chris Hedley wrote:
> >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...
I think sshd has the ability to write directly to utmp/wtmp, but it depends
on how it was compiled. On my machine sshd 'session' is just pam_permit.so,
so I guess sshd must be writing those records directly.
Regards,
Brian.
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: login, telnetd not updating utmp etc on -CURRENT
- From: Chris Hedley
- Re: login, telnetd not updating utmp etc on -CURRENT
- References:
- login, telnetd not updating utmp etc on -CURRENT
- From: Chris Hedley
- Re: login, telnetd not updating utmp etc on -CURRENT
- From: Brian Candler
- Re: login, telnetd not updating utmp etc on -CURRENT
- From: Chris Hedley
- login, telnetd not updating utmp etc on -CURRENT
- Prev by Date: Unreferenced files not being deleted
- Next by Date: Re: [TEST/REVIEW] CPU accounting patches
- Previous by thread: Re: login, telnetd not updating utmp etc on -CURRENT
- Next by thread: Re: login, telnetd not updating utmp etc on -CURRENT
- Index(es):
Relevant Pages
|