When PAM rejects a login attempt, greeter logs to syslog some garbage instead of login name.
Created attachment 32597 [details] [review] xdm-greeter-fix-logging-of-failed-login-attempts.patch Proposed fix.
Pushed to master - thanks for the fix. (I had noticed that and had started to fix, but never gotten around to finishing it.) greeter/greet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 504bb1aee60d570d8676a61acbe32c66d6069c45 Author: Dmitry V. Levin <ldv@altlinux.org> Date: Tue Jan 12 14:38:33 2010 +0000 greeter: fix logging of failed login attempts When PAM rejects a login attempt, the "username" variable remains uninitialized, which results to garbage being syslogged instead of login name. Explicit initialization helps to avoid this issue. Fixes FreeDesktop Bug #26015 <https://bugs.freedesktop.org/show_bug.cgi?id=26015> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.