shadow: enable pam_loginuid and pam_systemd for pam.d/login.
This commit is contained in:
parent
dce77f06cc
commit
2fefc0864b
2 changed files with 6 additions and 0 deletions
|
@ -2,13 +2,18 @@
|
|||
auth requisite pam_nologin.so
|
||||
auth required pam_securetty.so
|
||||
auth required pam_unix.so
|
||||
|
||||
account required pam_access.so
|
||||
account required pam_unix.so
|
||||
|
||||
session required pam_env.so
|
||||
session required pam_motd.so
|
||||
session required pam_limits.so
|
||||
session optional pam_mail.so dir=/var/mail standard
|
||||
session optional pam_lastlog.so
|
||||
session required pam_unix.so
|
||||
session required pam_loginuid.so
|
||||
session required pam_systemd.so kill-session-processes=1
|
||||
|
||||
password required pam_cracklib.so try_first_pass retry=3
|
||||
password required pam_unix.so sha512 shadow nullok try_first_pass use_authtok
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'shadow'
|
||||
pkgname=shadow
|
||||
version=4.1.4.3
|
||||
revision=1
|
||||
distfiles="http://pkg-shadow.alioth.debian.org/releases/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--libdir=/lib --enable-shared --disable-static
|
||||
|
|
Loading…
Reference in a new issue