freebsd-ports/x11/kde4-runtime/files/patch-kdm-kfrontend-genkdmconf.c
2003-01-28 18:36:58 +00:00

22 lines
760 B
C

--- kdm/kfrontend/genkdmconf.c.orig Wed Jun 26 12:37:51 2002
+++ kdm/kfrontend/genkdmconf.c Wed Jun 26 12:39:42 2002
@@ -402,7 +402,7 @@
"# by Xsetup usually.\n"
"# This is not required if you use PAM with the pam_console module.\n"
"#\n"
-"#chown $USER /dev/console\n"
+"chown $USER /dev/console\n"
"\n"
#ifdef _AIX
"# We create a pseudodevice for finger. (host:0 becomes kdm/host_0)\n"
@@ -443,8 +443,8 @@
"# Reassign ownership of the console to root, this should disallow\n"
"# assignment of console output to any random users's xterm. See Xstartup.\n"
"#\n"
-"#chown root /dev/console\n"
-"#chmod 622 /dev/console\n"
+"chown root /dev/console\n"
+/* "#chmod 622 /dev/console\n" */
"\n"
#ifdef _AIX
"if [ -f /usr/lib/X11/xdm/sessreg ]; then\n"