summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-05 23:34:43 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-05 23:34:43 +0200
commit2a2033d240edfd6cb2c75cf55ad00c90b19d4756 (patch)
tree42f9d70274a9a241939ead28eec122b0c0bda464
parent8a4571d9fc5c13f908e6bf309940fc38c456fb8c (diff)
downloadnutyx-pakxe-2a2033d240edfd6cb2c75cf55ad00c90b19d4756.tar.gz
nutyx-pakxe-2a2033d240edfd6cb2c75cf55ad00c90b19d4756.tar.bz2
nutyx-pakxe-2a2033d240edfd6cb2c75cf55ad00c90b19d4756.tar.xz
nutyx-pakxe-2a2033d240edfd6cb2c75cf55ad00c90b19d4756.zip
pambase dans base
-rw-r--r--pambase/.footprint.i6868
-rw-r--r--pambase/.footprint.x86_648
-rw-r--r--pambase/.md5sum.i6866
-rw-r--r--pambase/.md5sum.x86_646
-rwxr-xr-xpambase/Pkgfile27
-rw-r--r--pambase/other5
-rw-r--r--pambase/system-auth17
-rw-r--r--pambase/system-local-login6
-rw-r--r--pambase/system-login20
-rw-r--r--pambase/system-remote-login6
-rw-r--r--pambase/system-services11
11 files changed, 120 insertions, 0 deletions
diff --git a/pambase/.footprint.i686 b/pambase/.footprint.i686
new file mode 100644
index 000000000..9e2b34e3a
--- /dev/null
+++ b/pambase/.footprint.i686
@@ -0,0 +1,8 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/pam.d/
+-rw-r--r-- root/root etc/pam.d/other
+-rw-r--r-- root/root etc/pam.d/system-auth
+-rw-r--r-- root/root etc/pam.d/system-local-login
+-rw-r--r-- root/root etc/pam.d/system-login
+-rw-r--r-- root/root etc/pam.d/system-remote-login
+-rw-r--r-- root/root etc/pam.d/system-services
diff --git a/pambase/.footprint.x86_64 b/pambase/.footprint.x86_64
new file mode 100644
index 000000000..9e2b34e3a
--- /dev/null
+++ b/pambase/.footprint.x86_64
@@ -0,0 +1,8 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/pam.d/
+-rw-r--r-- root/root etc/pam.d/other
+-rw-r--r-- root/root etc/pam.d/system-auth
+-rw-r--r-- root/root etc/pam.d/system-local-login
+-rw-r--r-- root/root etc/pam.d/system-login
+-rw-r--r-- root/root etc/pam.d/system-remote-login
+-rw-r--r-- root/root etc/pam.d/system-services
diff --git a/pambase/.md5sum.i686 b/pambase/.md5sum.i686
new file mode 100644
index 000000000..ffe1c627b
--- /dev/null
+++ b/pambase/.md5sum.i686
@@ -0,0 +1,6 @@
+6e6c8719e5989d976a14610f340bd33a other
+5f169a4ffe7ed69f58e106cdd2d760df system-auth
+477237985820117a0e6e1b13a86eb599 system-local-login
+17c691f2da319df8fe851bc47cc1d662 system-login
+477237985820117a0e6e1b13a86eb599 system-remote-login
+30fe7d41e054ee43fab7855bf88a07e5 system-services
diff --git a/pambase/.md5sum.x86_64 b/pambase/.md5sum.x86_64
new file mode 100644
index 000000000..ffe1c627b
--- /dev/null
+++ b/pambase/.md5sum.x86_64
@@ -0,0 +1,6 @@
+6e6c8719e5989d976a14610f340bd33a other
+5f169a4ffe7ed69f58e106cdd2d760df system-auth
+477237985820117a0e6e1b13a86eb599 system-local-login
+17c691f2da319df8fe851bc47cc1d662 system-login
+477237985820117a0e6e1b13a86eb599 system-remote-login
+30fe7d41e054ee43fab7855bf88a07e5 system-services
diff --git a/pambase/Pkgfile b/pambase/Pkgfile
new file mode 100755
index 000000000..7d056dbca
--- /dev/null
+++ b/pambase/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Configuration de base pour les services PAM.
+# URL: http://piernov.org/git/nutyx-extra/tree/pambase
+# Maintainer: piernov <piernov@piernov.org>
+# Packager: piernov <piernov@piernov.org>
+# Depends on: linux-pam
+# Run on: linux-pam
+
+name=pambase
+version=2012
+release=1
+source=(system-auth
+ system-local-login
+ system-login
+ system-remote-login
+ system-services
+ other)
+
+build() {
+ install -dm755 $PKG/etc/pam.d
+ install -m644 -t $PKG/etc/pam.d \
+ system-auth \
+ system-local-login \
+ system-login \
+ system-remote-login \
+ system-services \
+ other
+}
diff --git a/pambase/other b/pambase/other
new file mode 100644
index 000000000..08498b423
--- /dev/null
+++ b/pambase/other
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth required pam_unix.so
+account required pam_unix.so
+password required pam_unix.so
+session required pam_unix.so
diff --git a/pambase/system-auth b/pambase/system-auth
new file mode 100644
index 000000000..b28a7e961
--- /dev/null
+++ b/pambase/system-auth
@@ -0,0 +1,17 @@
+#%PAM-1.0
+
+auth required pam_env.so
+auth required pam_unix.so try_first_pass nullok
+auth optional pam_permit.so
+
+account required pam_unix.so
+account optional pam_permit.so
+account required pam_time.so
+
+password required pam_unix.so try_first_pass nullok sha512 shadow
+password optional pam_permit.so
+
+session required pam_limits.so
+session required pam_env.so
+session required pam_unix.so
+session optional pam_permit.so
diff --git a/pambase/system-local-login b/pambase/system-local-login
new file mode 100644
index 000000000..347b8155b
--- /dev/null
+++ b/pambase/system-local-login
@@ -0,0 +1,6 @@
+#%PAM-1.0
+
+auth include system-login
+account include system-login
+password include system-login
+session include system-login
diff --git a/pambase/system-login b/pambase/system-login
new file mode 100644
index 000000000..c3bfd7c79
--- /dev/null
+++ b/pambase/system-login
@@ -0,0 +1,20 @@
+#%PAM-1.0
+
+auth required pam_tally.so onerr=succeed file=/var/log/faillog
+auth required pam_shells.so
+auth requisite pam_nologin.so
+auth include system-auth
+
+account required pam_access.so
+account required pam_nologin.so
+account include system-auth
+
+password include system-auth
+
+session optional pam_loginuid.so
+session required pam_env.so
+session include system-auth
+session optional pam_motd.so motd=/etc/motd
+session optional pam_mail.so dir=/var/spool/mail standard
+-session optional pam_ck_connector.so nox11
+-session optional pam_systemd.so
diff --git a/pambase/system-remote-login b/pambase/system-remote-login
new file mode 100644
index 000000000..347b8155b
--- /dev/null
+++ b/pambase/system-remote-login
@@ -0,0 +1,6 @@
+#%PAM-1.0
+
+auth include system-login
+account include system-login
+password include system-login
+session include system-login
diff --git a/pambase/system-services b/pambase/system-services
new file mode 100644
index 000000000..311c0d6d0
--- /dev/null
+++ b/pambase/system-services
@@ -0,0 +1,11 @@
+#%PAM-1.0
+
+auth sufficient pam_permit.so
+
+account include system-auth
+
+session optional pam_loginuid.so
+session required pam_limits.so
+session required pam_env.so
+session required pam_unix.so
+session optional pam_permit.so