summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/linux-pam/.footprint229
-rw-r--r--extra/linux-pam/.md5sum3
-rwxr-xr-xextra/linux-pam/Pkgfile41
-rw-r--r--extra/linux-pam/other8
-rw-r--r--extra/linux-pam/pam.conf8
5 files changed, 289 insertions, 0 deletions
diff --git a/extra/linux-pam/.footprint b/extra/linux-pam/.footprint
new file mode 100644
index 000000000..37f3f47aa
--- /dev/null
+++ b/extra/linux-pam/.footprint
@@ -0,0 +1,229 @@
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/environment
+-rw-r--r-- root/root etc/pam.conf
+drwxr-xr-x root/root etc/pam.d/
+-rw-r--r-- root/root etc/pam.d/other
+drwxr-xr-x root/root etc/security/
+-rw-r--r-- root/root etc/security/access.conf
+-rw-r--r-- root/root etc/security/group.conf
+-rw-r--r-- root/root etc/security/limits.conf
+drwxr-xr-x root/root etc/security/limits.d/
+-rw-r--r-- root/root etc/security/namespace.conf
+drwxr-xr-x root/root etc/security/namespace.d/
+-rwxr-xr-x root/root etc/security/namespace.init
+-rw-r--r-- root/root etc/security/pam_env.conf
+-rw-r--r-- root/root etc/security/time.conf
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/security/
+-rwxr-xr-x root/root lib/security/pam_access.la
+-rwxr-xr-x root/root lib/security/pam_access.so
+-rwxr-xr-x root/root lib/security/pam_debug.la
+-rwxr-xr-x root/root lib/security/pam_debug.so
+-rwxr-xr-x root/root lib/security/pam_deny.la
+-rwxr-xr-x root/root lib/security/pam_deny.so
+-rwxr-xr-x root/root lib/security/pam_echo.la
+-rwxr-xr-x root/root lib/security/pam_echo.so
+-rwxr-xr-x root/root lib/security/pam_env.la
+-rwxr-xr-x root/root lib/security/pam_env.so
+-rwxr-xr-x root/root lib/security/pam_exec.la
+-rwxr-xr-x root/root lib/security/pam_exec.so
+-rwxr-xr-x root/root lib/security/pam_faildelay.la
+-rwxr-xr-x root/root lib/security/pam_faildelay.so
+-rwxr-xr-x root/root lib/security/pam_filter.la
+-rwxr-xr-x root/root lib/security/pam_filter.so
+drwxr-xr-x root/root lib/security/pam_filter/
+-rwxr-xr-x root/root lib/security/pam_filter/upperLOWER
+-rwxr-xr-x root/root lib/security/pam_ftp.la
+-rwxr-xr-x root/root lib/security/pam_ftp.so
+-rwxr-xr-x root/root lib/security/pam_group.la
+-rwxr-xr-x root/root lib/security/pam_group.so
+-rwxr-xr-x root/root lib/security/pam_issue.la
+-rwxr-xr-x root/root lib/security/pam_issue.so
+-rwxr-xr-x root/root lib/security/pam_keyinit.la
+-rwxr-xr-x root/root lib/security/pam_keyinit.so
+-rwxr-xr-x root/root lib/security/pam_lastlog.la
+-rwxr-xr-x root/root lib/security/pam_lastlog.so
+-rwxr-xr-x root/root lib/security/pam_limits.la
+-rwxr-xr-x root/root lib/security/pam_limits.so
+-rwxr-xr-x root/root lib/security/pam_listfile.la
+-rwxr-xr-x root/root lib/security/pam_listfile.so
+-rwxr-xr-x root/root lib/security/pam_localuser.la
+-rwxr-xr-x root/root lib/security/pam_localuser.so
+-rwxr-xr-x root/root lib/security/pam_loginuid.la
+-rwxr-xr-x root/root lib/security/pam_loginuid.so
+-rwxr-xr-x root/root lib/security/pam_mail.la
+-rwxr-xr-x root/root lib/security/pam_mail.so
+-rwxr-xr-x root/root lib/security/pam_mkhomedir.la
+-rwxr-xr-x root/root lib/security/pam_mkhomedir.so
+-rwxr-xr-x root/root lib/security/pam_motd.la
+-rwxr-xr-x root/root lib/security/pam_motd.so
+-rwxr-xr-x root/root lib/security/pam_namespace.la
+-rwxr-xr-x root/root lib/security/pam_namespace.so
+-rwxr-xr-x root/root lib/security/pam_nologin.la
+-rwxr-xr-x root/root lib/security/pam_nologin.so
+-rwxr-xr-x root/root lib/security/pam_permit.la
+-rwxr-xr-x root/root lib/security/pam_permit.so
+-rwxr-xr-x root/root lib/security/pam_rhosts.la
+-rwxr-xr-x root/root lib/security/pam_rhosts.so
+-rwxr-xr-x root/root lib/security/pam_rootok.la
+-rwxr-xr-x root/root lib/security/pam_rootok.so
+-rwxr-xr-x root/root lib/security/pam_securetty.la
+-rwxr-xr-x root/root lib/security/pam_securetty.so
+-rwxr-xr-x root/root lib/security/pam_shells.la
+-rwxr-xr-x root/root lib/security/pam_shells.so
+-rwxr-xr-x root/root lib/security/pam_stress.la
+-rwxr-xr-x root/root lib/security/pam_stress.so
+-rwxr-xr-x root/root lib/security/pam_succeed_if.la
+-rwxr-xr-x root/root lib/security/pam_succeed_if.so
+-rwxr-xr-x root/root lib/security/pam_tally.la
+-rwxr-xr-x root/root lib/security/pam_tally.so
+-rwxr-xr-x root/root lib/security/pam_time.la
+-rwxr-xr-x root/root lib/security/pam_time.so
+-rwxr-xr-x root/root lib/security/pam_umask.la
+-rwxr-xr-x root/root lib/security/pam_umask.so
+-rwxr-xr-x root/root lib/security/pam_unix.la
+-rwxr-xr-x root/root lib/security/pam_unix.so
+-rwxr-xr-x root/root lib/security/pam_userdb.la
+-rwxr-xr-x root/root lib/security/pam_userdb.so
+-rwxr-xr-x root/root lib/security/pam_warn.la
+-rwxr-xr-x root/root lib/security/pam_warn.so
+-rwxr-xr-x root/root lib/security/pam_wheel.la
+-rwxr-xr-x root/root lib/security/pam_wheel.so
+-rwxr-xr-x root/root lib/security/pam_xauth.la
+-rwxr-xr-x root/root lib/security/pam_xauth.so
+-rwsr-xr-x root/root lib/security/unix_chkpwd
+-rwxr-xr-x root/root lib/security/unix_update
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/pam_tally
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/security/
+-rw-r--r-- root/root usr/include/security/_pam_compat.h
+-rw-r--r-- root/root usr/include/security/_pam_macros.h
+-rw-r--r-- root/root usr/include/security/_pam_types.h
+-rw-r--r-- root/root usr/include/security/pam_appl.h
+-rw-r--r-- root/root usr/include/security/pam_client.h
+-rw-r--r-- root/root usr/include/security/pam_ext.h
+-rw-r--r-- root/root usr/include/security/pam_filter.h
+-rw-r--r-- root/root usr/include/security/pam_misc.h
+-rw-r--r-- root/root usr/include/security/pam_modules.h
+-rw-r--r-- root/root usr/include/security/pam_modutil.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libpam.la
+lrwxrwxrwx root/root usr/lib/libpam.so -> libpam.so.0.81.10
+lrwxrwxrwx root/root usr/lib/libpam.so.0 -> libpam.so.0.81.10
+-rwxr-xr-x root/root usr/lib/libpam.so.0.81.10
+-rwxr-xr-x root/root usr/lib/libpam_misc.la
+lrwxrwxrwx root/root usr/lib/libpam_misc.so -> libpam_misc.so.0.81.3
+lrwxrwxrwx root/root usr/lib/libpam_misc.so.0 -> libpam_misc.so.0.81.3
+-rwxr-xr-x root/root usr/lib/libpam_misc.so.0.81.3
+-rwxr-xr-x root/root usr/lib/libpamc.la
+lrwxrwxrwx root/root usr/lib/libpamc.so -> libpamc.so.0.81.0
+lrwxrwxrwx root/root usr/lib/libpamc.so.0 -> libpamc.so.0.81.0
+-rwxr-xr-x root/root usr/lib/libpamc.so.0.81.0
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/Linux-PAM-0.99.10.0/
+-rw-r--r-- root/root usr/share/doc/Linux-PAM-0.99.10.0/draft-morgan-pam-current.txt
+-rw-r--r-- root/root usr/share/doc/Linux-PAM-0.99.10.0/index.html
+-rw-r--r-- root/root usr/share/doc/Linux-PAM-0.99.10.0/rfc86.0.txt
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/Linux-PAM.mo
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man3/
+-rw-r--r-- root/root usr/share/man/man3/misc_conv.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_acct_mgmt.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_authenticate.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_chauthtok.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_close_session.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_conv.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_end.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_error.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_fail_delay.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_get_data.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_get_item.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_get_user.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_getenv.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_getenvlist.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_info.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_misc_drop_env.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_misc_paste_env.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_misc_setenv.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_open_session.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_prompt.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_putenv.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_set_data.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_set_item.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_setcred.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_sm_acct_mgmt.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_sm_authenticate.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_sm_chauthtok.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_sm_close_session.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_sm_open_session.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_sm_setcred.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_start.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_strerror.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_syslog.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_verror.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_vinfo.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_vprompt.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_vsyslog.3.gz
+-rw-r--r-- root/root usr/share/man/man3/pam_xauth_data.3.gz
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/access.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/group.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/limits.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/namespace.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/pam.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/pam.d.5.gz
+-rw-r--r-- root/root usr/share/man/man5/pam_env.conf.5.gz
+-rw-r--r-- root/root usr/share/man/man5/time.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/PAM.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_access.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_cracklib.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_debug.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_deny.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_echo.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_env.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_exec.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_faildelay.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_filter.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_ftp.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_group.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_issue.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_keyinit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_lastlog.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_limits.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_listfile.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_localuser.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_loginuid.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_mail.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_mkhomedir.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_motd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_namespace.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_nologin.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_permit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_rhosts.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_rootok.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_securetty.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_shells.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_succeed_if.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_tally.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_time.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_tty_audit.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_umask.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_unix.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_userdb.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_warn.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_wheel.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pam_xauth.8.gz
+-rw-r--r-- root/root usr/share/man/man8/unix_chkpwd.8.gz
+-rw-r--r-- root/root usr/share/man/man8/unix_update.8.gz
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/run/
+drwxr-xr-x root/root var/run/sepermit/
diff --git a/extra/linux-pam/.md5sum b/extra/linux-pam/.md5sum
new file mode 100644
index 000000000..347a5ad11
--- /dev/null
+++ b/extra/linux-pam/.md5sum
@@ -0,0 +1,3 @@
+be4dd1d34ac5933408e13e48f3eb710a Linux-PAM-0.99.10.0.tar.bz2
+fe2c4d4c97db51bef238d4c4091ce8c7 other
+1ec21191c196021268db2cace46c6e23 pam.conf
diff --git a/extra/linux-pam/Pkgfile b/extra/linux-pam/Pkgfile
new file mode 100755
index 000000000..ab8256950
--- /dev/null
+++ b/extra/linux-pam/Pkgfile
@@ -0,0 +1,41 @@
+# Description: Permet à l'administateur locale de choisir comment les applications identifie les utilisateurs
+# URL: http://www.kernel.org/pub/libs/pam
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=linux-pam
+version=0.99.10.0
+release=1
+source=(http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-$version.tar.bz2\
+ pam.conf other)
+
+
+build() {
+ mkdir -p $PKG/etc/pam.d
+ install -m644 other $PKG/etc/pam.d/other
+ install -m644 pam.conf $PKG/etc/pam.conf
+ cd Linux-PAM-$version
+ ./configure --sysconfdir=/etc \
+ --libdir=/usr/lib \
+ --sbindir=/lib/security \
+ --enable-securedir=/lib/security \
+ --docdir=/usr/share/doc/Linux-PAM-$version \
+ --enable-read-both-confs \
+ --with-xauth=/usr/X11R6/bin/xauth \
+ --enable-fakeroot="$PKG"
+ make
+ make DESTDIR=$PKG install
+ chmod -v 4755 $PKG/lib/security/unix_chkpwd
+ mkdir -p $PKG/{sbin,usr/lib}
+ mv -v $PKG/lib/security/pam_tally $PKG/sbin
+# mv -v $PKG/lib/libpam{,c,_misc}.la $PKG/usr/lib
+ sed -i 's| /lib| /usr/lib|' $PKG/usr/lib/libpam_misc.la
+ if [ -L $PKG/lib/libpam.so ]; then
+ for LINK in libpam{,c,_misc}.so; do
+ ln -v -sf ../../lib/$(readlink /lib/${LINK}) \
+ $PKG/usr/lib/${LINK} &&
+ rm -v $PKG/lib/${LINK}
+ done
+ fi
+}
diff --git a/extra/linux-pam/other b/extra/linux-pam/other
new file mode 100644
index 000000000..03e479ef2
--- /dev/null
+++ b/extra/linux-pam/other
@@ -0,0 +1,8 @@
+# Begin /etc/pam.d/other
+
+auth required pam_unix.so nullok
+account required pam_unix.so
+session required pam_unix.so
+password required pam_unix.so nullok
+
+# End /etc/pam.d/other
diff --git a/extra/linux-pam/pam.conf b/extra/linux-pam/pam.conf
new file mode 100644
index 000000000..ee054cce0
--- /dev/null
+++ b/extra/linux-pam/pam.conf
@@ -0,0 +1,8 @@
+# Begin /etc/pam.conf
+
+other auth required pam_unix.so nullok
+other account required pam_unix.so
+other session required pam_unix.so
+other password required pam_unix.so nullok
+
+# End /etc/pam.conf