Re: HEADS UP: <utmp.h> gone. All welcome <utmpx.h>.

From: Ed Schouten <ed_at_80386.nl>
Date: Tue, 9 Feb 2010 08:37:14 +0100
* Vincent Poy <vincepoy_at_gmail.com> wrote:
> With utmp, it will always show the pty for ssh/rlogin/telnet sessions and
> ftp when it's a ftp session as:
> 
> user1       ftp      10.12.21.156           Fri Aug 20 13:17 - 13:17 (00:00)
> 
> user1       ttyp0  10.12.21.156           Fri Aug 20 13:16 - 13:17 (00:00)
> 
> while the new format is:
>  user1                10.12.21.156            Wed Feb  3 14:22 - 14:22
> (00:00)
>  user1      pts/12  10.12.21.156            Tue Feb  2 20:47 - 20:48
> (00:00)

Fixed. It should now use ftp again.

> So it's really only user based ftp sessions aren't showing up with the ftp
> part in the utmpx output.

This is because utmpx doesn't work nicely in combination with chroot().
On the long term we could look at fixing it, but for now I'm not going
to spend any time fixing that.

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Tue Feb 09 2010 - 06:37:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC