FreeBSD Bugzilla – Attachment 130532 Details for
Bug 174482
[PATCH]: x11/slim Fix PAM error handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
x11_slim-pam.patch
x11_slim-pam.patch (text/plain), 1.28 KB, created by
Maxim Samsonov
on 2012-12-16 14:50:00 UTC
(
hide
)
Description:
x11_slim-pam.patch
Filename:
MIME Type:
Creator:
Maxim Samsonov
Created:
2012-12-16 14:50:00 UTC
Size:
1.28 KB
patch
obsolete
>diff --git a/x11/slim/files/patch-PAM.cpp b/x11/slim/files/patch-PAM.cpp >new file mode 100644 >--- /dev/null >+++ b/x11/slim/files/patch-PAM.cpp >@@ -0,0 +1,10 @@ >+--- PAM.cpp.orig 2012-06-26 12:20:14.000000000 +0400 >++++ PAM.cpp 2012-12-16 16:05:09.000000000 +0400 >+@@ -128,6 +128,7 @@ >+ case PAM_MAXTRIES: >+ case PAM_CRED_INSUFFICIENT: >+ case PAM_AUTH_ERR: >++ case PAM_CONV_ERR: >+ throw Auth_Exception(pam_handle, "pam_authentication()", last_result); >+ >+ case PAM_SUCCESS: >diff --git a/x11/slim/files/patch-slim.conf b/x11/slim/files/patch-slim.conf >--- a/x11/slim/files/patch-slim.conf >+++ b/x11/slim/files/patch-slim.conf >@@ -18,7 +18,7 @@ > reboot_cmd /sbin/shutdown -r now > -console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login" > -#suspend_cmd /usr/sbin/suspend >-+console_cmd %%LOCALBASE%%/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/motd; exec /bin/login" >++console_cmd %%LOCALBASE%%/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/motd; exec /usr/bin/login" > +suspend_cmd /usr/sbin/acpiconf -s 3 > > # Full path to the xauth binary
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 174482
: 130532 |
130533
Working