Disable UTMP updating feature. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104514 --- a/acconfig.h +++ b/acconfig.h @@ -191,7 +191,7 @@ * If screen is installed with permissions to update /etc/utmp (such * as if it is installed set-uid root), define UTMPOK. */ -#define UTMPOK +#undef UTMPOK /* Set LOGINDEFAULT to one (1) * if you want entries added to /etc/utmp by default, else set it to @@ -214,7 +214,7 @@ * Set CAREFULUTMP to one (1) if you want that users have at least one * window per screen session logged in. */ -#define LOGOUTOK 1 +#undef LOGOUTOK #undef CAREFULUTMP --- a/utmp.c +++ b/utmp.c @@ -882,6 +882,7 @@ } # endif /* BUGGYGETLOGIN */ +#ifdef UTMPOK #if defined(linux) && defined(GETUTENT) # undef pututline @@ -899,4 +900,5 @@ return u->ut_type == u2->ut_type ? u : 0; } #endif +#endif