valetudo-misc/tools/screen/res/disable_utmp.patch

31 lines
827 B
Diff

diff --git a/src/acconfig.h b/src/acconfig.h
index 2e46985..c797e5c 100644
--- a/src/acconfig.h
+++ b/src/acconfig.h
@@ -191,14 +191,14 @@
* 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
* zero (0).
* LOGINDEFAULT will be one (1) whenever LOGOUTOK is undefined!
*/
-#define LOGINDEFAULT 1
+#undef LOGINDEFAULT
/* Set LOGOUTOK to one (1)
* if you want the user to be able to log her/his windows out.
@@ -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