New package: pam-base with common pam files.
This commit is contained in:
parent
3516dc6b39
commit
9bd324869e
7 changed files with 86 additions and 0 deletions
5
srcpkgs/pam-base/files/other
Normal file
5
srcpkgs/pam-base/files/other
Normal 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
|
16
srcpkgs/pam-base/files/system-auth
Normal file
16
srcpkgs/pam-base/files/system-auth
Normal 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
|
6
srcpkgs/pam-base/files/system-local-login
Normal file
6
srcpkgs/pam-base/files/system-local-login
Normal file
|
@ -0,0 +1,6 @@
|
|||
#%PAM-1.0
|
||||
|
||||
auth include system-login
|
||||
account include system-login
|
||||
password include system-login
|
||||
session include system-login
|
20
srcpkgs/pam-base/files/system-login
Normal file
20
srcpkgs/pam-base/files/system-login
Normal 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
|
6
srcpkgs/pam-base/files/system-remote-login
Normal file
6
srcpkgs/pam-base/files/system-remote-login
Normal file
|
@ -0,0 +1,6 @@
|
|||
#%PAM-1.0
|
||||
|
||||
auth include system-login
|
||||
account include system-login
|
||||
password include system-login
|
||||
session include system-login
|
11
srcpkgs/pam-base/files/system-services
Normal file
11
srcpkgs/pam-base/files/system-services
Normal 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
22
srcpkgs/pam-base/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue