New package: pam-base with common pam files.

This commit is contained in:
Juan RP 2014-11-03 16:41:19 +01:00
parent 3516dc6b39
commit 9bd324869e
7 changed files with 86 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,16 @@
#%PAM-1.0
auth required pam_unix.so try_first_pass nullok
auth optional pam_permit.so
auth required pam_env.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_unix.so
session optional pam_permit.so

View file

@ -0,0 +1,6 @@
#%PAM-1.0
auth include system-login
account include system-login
password include system-login
session include system-login

View file

@ -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 include system-auth
session optional pam_motd.so motd=/etc/motd
session optional pam_mail.so dir=/var/spool/mail standard quiet
-session optional pam_systemd.so
-session optional pam_ck_connector.so nox11
session required pam_env.so

View file

@ -0,0 +1,6 @@
#%PAM-1.0
auth include system-login
account include system-login
password include system-login
session include system-login

View file

@ -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_unix.so
session optional pam_permit.so
session required pam_env.so

22
srcpkgs/pam-base/template Normal file
View file

@ -0,0 +1,22 @@
# Template file for 'pam-base'
pkgname=pam-base
version=0.1
revision=1
noarch=yes
short_desc="PAM base configuration files"
maintainer="Juan RP <xtraeme@gmail.com>"
license="public domain"
homepage="http://www.voidlinux.eu"
conf_files="
/etc/pam.d/other
/etc/pam.d/system-auth
/etc/pam.d/system-local-login
/etc/pam.d/system-login
/etc/pam.d/system-remote-login
/etc/pam.d/system-services"
do_install() {
vmkdir etc/pam.d
install -m644 ${FILESDIR}/* ${DESTDIR}/etc/pam.d
}