From 0970c5f8aa36697a4cb7e28ccd5ffc735b5b6552 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 1 Feb 2009 00:28:30 -0800 Subject: [PATCH] Comment out the session line for PAM's xdm config. This works around a widely known bug in xdm where a PAM callback can cause xdm to access a bogus widget pointer after the widget has been destroyed. With-help-from: Sephe --- etc/pam.d/xdm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/pam.d/xdm b/etc/pam.d/xdm index 31d160782d..866de96f63 100644 --- a/etc/pam.d/xdm +++ b/etc/pam.d/xdm @@ -17,7 +17,10 @@ account required pam_unix.so # session #session required pam_ssh.so want_agent -session required pam_lastlog.so no_fail +# xdm has a software bug in it where session callbacks can occur +# after the widget has been destroyed, causing a seg-fault. Commenting +# out the session line works around the problem. +#session required pam_lastlog.so no_fail # password password required pam_deny.so -- 2.11.4.GIT