Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2010 08:37:14 +0100
From:      Ed Schouten <ed@80386.nl>
To:        Vincent Poy <vincepoy@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADS UP: <utmp.h> gone. All welcome <utmpx.h>.
Message-ID:  <20100209073714.GU77705@hoeg.nl>
In-Reply-To: <429af92e1002081826j630557e9vcd8111b91b67660@mail.gmail.com>
References:  <429af92e1002081826j630557e9vcd8111b91b67660@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--zOAt2Xc0AZny4u/m
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Vincent Poy <vincepoy@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:
>=20
> user1       ftp      10.12.21.156           Fri Aug 20 13:17 - 13:17 (00:=
00)
>=20
> user1       ttyp0  10.12.21.156           Fri Aug 20 13:16 - 13:17 (00:00)
>=20
> 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.

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--zOAt2Xc0AZny4u/m
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAktxEKoACgkQ52SDGA2eCwUVzQCferozMU5TSLVhBOkxSNbr4cni
kMMAnibjWE+mmMsXLheiQbheF8QgXXO2
=RrPp
-----END PGP SIGNATURE-----

--zOAt2Xc0AZny4u/m--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100209073714.GU77705>