changeset 518:18651f8c0b45

o Cleanup unused PAM modules. o Add required service "other".
author Aleksandr Rybalko <ray@ddteam.net>
date Sat, 07 Nov 2015 00:59:01 +0200
parents e2a2b16bcf7b
children 3ca79989db91
files profiles/SMALL_/files/etc/pam.d/login profiles/SMALL_/files/etc/pam.d/other profiles/SMALL_/files/etc/pam.d/passwd profiles/SMALL_/files/etc/pam.d/system profiles/SMALL_/files/etc/pam.d/telnetd profiles/xSMALL_/files/etc/pam.d/login profiles/xSMALL_/files/etc/pam.d/other profiles/xSMALL_/files/etc/pam.d/passwd profiles/xSMALL_/files/etc/pam.d/system profiles/xSMALL_/files/etc/pam.d/telnetd
diffstat 10 files changed, 34 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/profiles/SMALL_/files/etc/pam.d/login	Sat Nov 07 00:56:45 2015 +0200
+++ b/profiles/SMALL_/files/etc/pam.d/login	Sat Nov 07 00:59:01 2015 +0200
@@ -2,12 +2,9 @@
 #
 
 # auth
-#auth		sufficient	pam_self.so		no_warn
 auth		include		system
 
 # account
-#account		requisite	pam_securetty.so
-#account		required	pam_nologin.so
 account		include		system
 
 # session
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles/SMALL_/files/etc/pam.d/other	Sat Nov 07 00:59:01 2015 +0200
@@ -0,0 +1,17 @@
+#
+# $FreeBSD: head/etc/pam.d/other 197769 2009-10-05 09:28:54Z des $
+#
+# PAM configuration for the "other" service
+#
+
+# auth
+auth		required	pam_unix.so		no_warn try_first_pass
+
+# account
+account		required	pam_unix.so
+
+# session
+session		required	pam_permit.so
+
+# password
+password	required	pam_permit.so
--- a/profiles/SMALL_/files/etc/pam.d/passwd	Sat Nov 07 00:56:45 2015 +0200
+++ b/profiles/SMALL_/files/etc/pam.d/passwd	Sat Nov 07 00:59:01 2015 +0200
@@ -1,3 +1,2 @@
 # password
-#password	requisite	pam_passwdqc.so		enforce=users
 password	required	pam_unix.so		no_warn try_first_pass nullok
--- a/profiles/SMALL_/files/etc/pam.d/system	Sat Nov 07 00:56:45 2015 +0200
+++ b/profiles/SMALL_/files/etc/pam.d/system	Sat Nov 07 00:59:01 2015 +0200
@@ -2,15 +2,12 @@
 #
 
 # auth
-#auth		sufficient	pam_ssh.so		no_warn try_first_pass
 auth		required	pam_unix.so		no_warn try_first_pass nullok
 
 # account
-#account	required	pam_login_access.so
 account		required	pam_unix.so
 
 # session
-#session	required	pam_lastlog.so		no_fail
 
 # password
 password	required	pam_unix.so		no_warn try_first_pass
--- a/profiles/SMALL_/files/etc/pam.d/telnetd	Sat Nov 07 00:56:45 2015 +0200
+++ b/profiles/SMALL_/files/etc/pam.d/telnetd	Sat Nov 07 00:59:01 2015 +0200
@@ -2,17 +2,12 @@
 #
 
 # auth
-#auth		sufficient	pam_ssh.so		no_warn try_first_pass
 auth		required	pam_unix.so		no_warn try_first_pass
 
 # account
-#account		required	pam_nologin.so
-#account		required	pam_login_access.so
 account		required	pam_unix.so
 
 # session
-#session 	optional	pam_ssh.so
-#session		required	pam_lastlog.so		no_fail
 
 # password
 password	required	pam_unix.so		no_warn try_first_pass
--- a/profiles/xSMALL_/files/etc/pam.d/login	Sat Nov 07 00:56:45 2015 +0200
+++ b/profiles/xSMALL_/files/etc/pam.d/login	Sat Nov 07 00:59:01 2015 +0200
@@ -2,12 +2,9 @@
 #
 
 # auth
-#auth		sufficient	pam_self.so		no_warn
 auth		include		system
 
 # account
-#account		requisite	pam_securetty.so
-#account		required	pam_nologin.so
 account		include		system
 
 # session
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/profiles/xSMALL_/files/etc/pam.d/other	Sat Nov 07 00:59:01 2015 +0200
@@ -0,0 +1,17 @@
+#
+# $FreeBSD: head/etc/pam.d/other 197769 2009-10-05 09:28:54Z des $
+#
+# PAM configuration for the "other" service
+#
+
+# auth
+auth		required	pam_unix.so		no_warn try_first_pass
+
+# account
+account		required	pam_unix.so
+
+# session
+session		required	pam_permit.so
+
+# password
+password	required	pam_permit.so
--- a/profiles/xSMALL_/files/etc/pam.d/passwd	Sat Nov 07 00:56:45 2015 +0200
+++ b/profiles/xSMALL_/files/etc/pam.d/passwd	Sat Nov 07 00:59:01 2015 +0200
@@ -1,3 +1,2 @@
 # password
-#password	requisite	pam_passwdqc.so		enforce=users
 password	required	pam_unix.so		no_warn try_first_pass nullok
--- a/profiles/xSMALL_/files/etc/pam.d/system	Sat Nov 07 00:56:45 2015 +0200
+++ b/profiles/xSMALL_/files/etc/pam.d/system	Sat Nov 07 00:59:01 2015 +0200
@@ -2,15 +2,12 @@
 #
 
 # auth
-#auth		sufficient	pam_ssh.so		no_warn try_first_pass
 auth		required	pam_unix.so		no_warn try_first_pass nullok
 
 # account
-#account	required	pam_login_access.so
 account		required	pam_unix.so
 
 # session
-#session	required	pam_lastlog.so		no_fail
 
 # password
 password	required	pam_unix.so		no_warn try_first_pass
--- a/profiles/xSMALL_/files/etc/pam.d/telnetd	Sat Nov 07 00:56:45 2015 +0200
+++ b/profiles/xSMALL_/files/etc/pam.d/telnetd	Sat Nov 07 00:59:01 2015 +0200
@@ -2,17 +2,12 @@
 #
 
 # auth
-#auth		sufficient	pam_ssh.so		no_warn try_first_pass
 auth		required	pam_unix.so		no_warn try_first_pass
 
 # account
-#account		required	pam_nologin.so
-#account		required	pam_login_access.so
 account		required	pam_unix.so
 
 # session
-#session 	optional	pam_ssh.so
-#session		required	pam_lastlog.so		no_fail
 
 # password
 password	required	pam_unix.so		no_warn try_first_pass