- Add "Conversation failure" error code to authentication errors
list in order to permit login with special usernames. - Fix conssole command - Bump PORTREVISION PR: ports/174482 Submitted by: Maxim Samsonov <xors@mailup.net> Approved by: Henry Hu <henry.hu.sh@gmail.com> (maintainer)
This commit is contained in:
parent
100c5c1378
commit
2995bf313d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315025
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= slim
|
||||
PORTVERSION= 1.3.4
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://slim.berlios.de/releases/
|
||||
|
||||
|
10
x11/slim/files/patch-PAM.cpp
Normal file
10
x11/slim/files/patch-PAM.cpp
Normal file
@ -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:
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user