summaryrefslogtreecommitdiff
blob: 6d2d0a9c3441820dfd43b87c82673e85afde27e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -urN xdm-1.0.3.orig/config/GiveConsole xdm-1.0.3/config/GiveConsole
--- xdm-1.0.3.orig/config/GiveConsole	2006-04-19 22:40:45.000000000 -0700
+++ xdm-1.0.3/config/GiveConsole	2006-04-19 23:06:51.000000000 -0700
@@ -8,3 +8,5 @@
 # causing serious grief.
 #
 chown $USER /dev/console
+/usr/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" \
+	-x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER
diff -urN xdm-1.0.3.orig/config/TakeConsole xdm-1.0.3/config/TakeConsole
--- xdm-1.0.3.orig/config/TakeConsole	2006-04-19 22:40:45.000000000 -0700
+++ xdm-1.0.3/config/TakeConsole	2006-04-19 23:07:37.000000000 -0700
@@ -5,3 +5,5 @@
 #
 chmod 622 /dev/console
 chown root /dev/console
+/usr/bin/sessreg -d -w "/var/log/wtmp" -u "/var/run/utmp" \
+	-x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER