Problem with cleaning utmp entry
Bosko Radivojevic
bole at falcon.etf.bg.ac.yu
Sat Jul 1 12:07:49 EST 2000
Hello
I have problem with OpenSSH 2.1.1p1 on libc5 system (Slackware 4). I'm not
sure if I had those problems with 1.2.x version of OpenSSH (on the same
system), but I don't think so.
When someone ends ssh session (logout, or something) utmp entry for that
user doesn't get erased from UTMP file. In 'finger' I can see a lot of
multiplicied users that are not actually logged in.
WTMP logging is also broken. (there is no entries at all)
I don't have those problems on glibc2 systems (slack7), and I would be
very happy if problem with libc5 and logging could be solved.
Greetings
PS. Part of ./configure that may be useful:
checking for ut_host field in utmp.h... yes
checking for ut_host field in utmpx.h... no
checking for syslen field in utmpx.h... no
checking for ut_pid field in utmp.h... yes
checking for ut_type field in utmp.h... yes
checking for ut_type field in utmpx.h... no
checking for ut_tv field in utmp.h... no
checking for ut_id field in utmp.h... yes
checking for ut_addr field in utmp.h... yes
checking for ut_addr field in utmpx.h... no
checking for ut_addr_v6 field in utmp.h... no
checking for ut_addr_v6 field in utmpx.h... no
checking for ut_exit field in utmp.h... no
checking for ut_time field in utmp.h... yes
checking for ut_time field in utmpx.h... no
checking for ut_tv field in utmpx.h... no
PPS. Part of config.h (after doing configure):
/* struct utmp and struct utmpx fields */
#define HAVE_HOST_IN_UTMP 1
/* #undef HAVE_HOST_IN_UTMPX */
#define HAVE_ADDR_IN_UTMP 1
/* #undef HAVE_ADDR_IN_UTMPX */
/* #undef HAVE_ADDR_V6_IN_UTMP */
/* #undef HAVE_ADDR_V6_IN_UTMPX */
/* #undef HAVE_SYSLEN_IN_UTMPX */
#define HAVE_PID_IN_UTMP 1
#define HAVE_TYPE_IN_UTMP 1
/* #undef HAVE_TYPE_IN_UTMPX */
/* #undef HAVE_TV_IN_UTMP */
/* #undef HAVE_TV_IN_UTMPX */
#define HAVE_ID_IN_UTMP 1
/* #undef HAVE_EXIT_IN_UTMP */
#define HAVE_TIME_IN_UTMP 1
/* #undef HAVE_TIME_IN_UTMPX */
More information about the openssh-unix-dev
mailing list