linux-pam: initial commit
This commit is contained in:
parent
f12ac7b924
commit
873e4a6fab
209
linux-pam/.footprint
Normal file
209
linux-pam/.footprint
Normal file
@ -0,0 +1,209 @@
|
||||
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/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
|
||||
-rw-r--r-- root/root etc/security/namespace.conf
|
||||
-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/
|
||||
-rwxr-xr-x root/root lib/libpam.la
|
||||
lrwxrwxrwx root/root lib/libpam.so -> libpam.so.0.81.6
|
||||
lrwxrwxrwx root/root lib/libpam.so.0 -> libpam.so.0.81.6
|
||||
-rwxr-xr-x root/root lib/libpam.so.0.81.6
|
||||
-rwxr-xr-x root/root lib/libpam_misc.la
|
||||
lrwxrwxrwx root/root lib/libpam_misc.so -> libpam_misc.so.0.81.2
|
||||
lrwxrwxrwx root/root lib/libpam_misc.so.0 -> libpam_misc.so.0.81.2
|
||||
-rwxr-xr-x root/root lib/libpam_misc.so.0.81.2
|
||||
-rwxr-xr-x root/root lib/libpamc.la
|
||||
lrwxrwxrwx root/root lib/libpamc.so -> libpamc.so.0.81.0
|
||||
lrwxrwxrwx root/root lib/libpamc.so.0 -> libpamc.so.0.81.0
|
||||
-rwxr-xr-x root/root lib/libpamc.so.0.81.0
|
||||
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_rhosts_auth.la
|
||||
-rwxr-xr-x root/root lib/security/pam_rhosts_auth.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
|
||||
drwxr-xr-x root/root sbin/
|
||||
-rwxr-xr-x root/root sbin/pam_tally
|
||||
-rwxr-xr-x root/root sbin/unix_chkpwd
|
||||
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/man/
|
||||
drwxr-xr-x root/root usr/man/man3/
|
||||
-rw-r--r-- root/root usr/man/man3/misc_conv.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_acct_mgmt.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_authenticate.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_chauthtok.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_close_session.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_conv.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_end.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_error.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_fail_delay.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_get_data.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_get_item.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_get_user.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_getenv.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_getenvlist.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_info.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_misc_drop_env.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_misc_paste_env.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_misc_setenv.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_open_session.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_prompt.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_putenv.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_set_data.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_set_item.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_setcred.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_sm_acct_mgmt.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_sm_authenticate.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_sm_chauthtok.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_sm_close_session.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_sm_open_session.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_sm_setcred.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_start.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_strerror.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_syslog.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_verror.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_vinfo.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_vprompt.3.gz
|
||||
-rw-r--r-- root/root usr/man/man3/pam_vsyslog.3.gz
|
||||
drwxr-xr-x root/root usr/man/man5/
|
||||
-rw-r--r-- root/root usr/man/man5/access.conf.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/group.conf.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/limits.conf.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/namespace.conf.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/pam.conf.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/pam.d.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/pam_env.conf.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/time.conf.5.gz
|
||||
drwxr-xr-x root/root usr/man/man8/
|
||||
-rw-r--r-- root/root usr/man/man8/PAM.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_access.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_cracklib.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_debug.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_deny.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_echo.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_env.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_exec.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_faildelay.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_filter.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_ftp.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_group.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_issue.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_keyinit.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_lastlog.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_limits.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_listfile.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_localuser.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_loginuid.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_mail.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_mkhomedir.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_motd.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_namespace.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_nologin.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_permit.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_rhosts.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_rootok.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_securetty.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_shells.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_succeed_if.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_tally.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_time.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_umask.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_unix.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_userdb.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_warn.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_wheel.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/pam_xauth.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/unix_chkpwd.8.gz
|
2
linux-pam/.md5sum
Normal file
2
linux-pam/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
385458dfb4633071594e255a6ebec9da Linux-PAM-0.99.7.1.tar.bz2
|
||||
db72385e7a8c81acc85afc0be4399b4a pam.conf
|
17
linux-pam/Pkgfile
Normal file
17
linux-pam/Pkgfile
Normal file
@ -0,0 +1,17 @@
|
||||
# Description: Linux-PAM (Pluggable Authentication Modules for Linux)
|
||||
# URL: http://www.us.kernel.org/pub/linux/libs/pam/
|
||||
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
||||
|
||||
name=linux-pam
|
||||
version=0.99.7.1
|
||||
release=1
|
||||
source=(http://www.us.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-$version.tar.bz2 pam.conf)
|
||||
|
||||
build() {
|
||||
cd Linux-PAM-$version
|
||||
./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/man --disable-nls
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/share
|
||||
install -D -m 644 $SRC/pam.conf $PKG/etc/pam.conf
|
||||
}
|
12
linux-pam/README
Normal file
12
linux-pam/README
Normal file
@ -0,0 +1,12 @@
|
||||
REQUIREMENTS
|
||||
|
||||
PRE-INSTALL
|
||||
|
||||
POST-INSTALL
|
||||
|
||||
* You might want to rebuild some pam-aware packages:
|
||||
ssh, samba, shadow, kde, ftpd, imapd, pop3d, etc
|
||||
|
||||
PRECAUTION
|
||||
|
||||
* Please review the provided pam.conf configuration.
|
75
linux-pam/pam.conf
Normal file
75
linux-pam/pam.conf
Normal file
@ -0,0 +1,75 @@
|
||||
#
|
||||
# /etc/pam.conf: authentication stack configuration file
|
||||
#
|
||||
|
||||
# imap auth sufficient pam_ldap.so
|
||||
imap auth required pam_unix.so md5 shadow try_first_pass
|
||||
# imap account sufficient pam_ldap.so
|
||||
imap account required pam_unix.so
|
||||
# imap session sufficient pam_ldap.so
|
||||
imap session required pam_unix.so
|
||||
|
||||
# pop3 auth sufficient pam_ldap.so
|
||||
pop3 auth required pam_unix.so md5 shadow try_first_pass
|
||||
# pop3 account sufficient pam_ldap.so
|
||||
pop3 account required pam_unix.so
|
||||
# pop3 session sufficient pam_ldap.so
|
||||
pop3 session required pam_unix.so
|
||||
|
||||
# sshd auth sufficient pam_ldap.so
|
||||
sshd auth required pam_unix.so md5 shadow try_first_pass
|
||||
# sshd account sufficient pam_ldap.so
|
||||
sshd account required pam_unix.so
|
||||
# sshd session sufficient pam_ldap.so
|
||||
sshd session required pam_unix.so
|
||||
|
||||
su auth sufficient pam_rootok.so
|
||||
# su auth sufficient pam_ldap.so
|
||||
su auth required pam_unix.so md5 shadow try_first_pass
|
||||
# su account sufficient pam_ldap.so
|
||||
su account required pam_unix.so
|
||||
# su session sufficient pam_ldap.so
|
||||
su session required pam_unix.so
|
||||
|
||||
login auth requisite pam_securetty.so
|
||||
# login auth sufficient pam_ldap.so
|
||||
login auth required pam_unix.so md5 shadow try_first_pass
|
||||
login account requisite pam_time.so
|
||||
# login account sufficient pam_ldap.so
|
||||
login account required pam_unix.so
|
||||
# login session sufficient pam_ldap.so
|
||||
login session required pam_unix.so
|
||||
|
||||
kde auth requisite pam_securetty.so
|
||||
# kde auth sufficient pam_ldap.so
|
||||
kde auth required pam_unix.so md5 shadow try_first_pass
|
||||
kde account requisite pam_time.so
|
||||
# kde account sufficient pam_ldap.so
|
||||
kde account required pam_unix.so
|
||||
# kde session sufficient pam_ldap.so
|
||||
kde session required pam_unix.so
|
||||
|
||||
# samba auth sufficient pam_ldap.so
|
||||
samba auth required pam_unix.so md5 shadow try_first_pass
|
||||
# samba account sufficient pam_ldap.so
|
||||
samba account required pam_unix.so
|
||||
# samba session sufficient pam_ldap.so
|
||||
samba session required pam_unix.so
|
||||
|
||||
ftp auth sufficient pam_ftp.so
|
||||
# ftp auth sufficient pam_ldap.so
|
||||
ftp auth required pam_unix.so md5 shadow try_first_pass
|
||||
# ftp account sufficient pam_ldap.so
|
||||
ftp account required pam_unix.so
|
||||
# ftp session sufficient pam_ldap.so
|
||||
ftp session required pam_unix.so
|
||||
|
||||
# passwd password sufficient pam_ldap.so
|
||||
passwd password required pam_unix.so md5 shadow try_first_pass
|
||||
|
||||
other auth required pam_warn.so
|
||||
other auth requisite pam_deny.so
|
||||
other account requisite pam_deny.so
|
||||
other password required pam_warn.so
|
||||
other password requisite pam_deny.so
|
||||
other session requisite pam_deny.so
|
Loading…
x
Reference in New Issue
Block a user