util-linux: login.pam: re-add pam-lastlog(8) again but make it just silent.
... otherwise /var/log/lastlog is never created.
This commit is contained in:
parent
fa83095618
commit
8c3d6a6bde
2 changed files with 3 additions and 3 deletions
|
@ -11,6 +11,7 @@ session required pam_motd.so
|
||||||
session optional pam_mail.so dir=/var/mail standard
|
session optional pam_mail.so dir=/var/mail standard
|
||||||
session required pam_unix.so
|
session required pam_unix.so
|
||||||
session required pam_loginuid.so
|
session required pam_loginuid.so
|
||||||
|
session required pam_lastlog.so silent never
|
||||||
-session optional pam_systemd.so
|
-session optional pam_systemd.so
|
||||||
-session optional pam_ck_connector.so nox11
|
-session optional pam_ck_connector.so nox11
|
||||||
session required pam_limits.so
|
session required pam_limits.so
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'util-linux'
|
# Template file for 'util-linux'
|
||||||
pkgname=util-linux
|
pkgname=util-linux
|
||||||
version=2.25
|
version=2.25
|
||||||
revision=4
|
revision=5
|
||||||
short_desc="Miscellaneous linux utilities"
|
short_desc="Miscellaneous linux utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
|
homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
|
||||||
|
@ -19,8 +19,7 @@ conf_files="
|
||||||
/etc/pam.d/su
|
/etc/pam.d/su
|
||||||
/etc/pam.d/su-l
|
/etc/pam.d/su-l
|
||||||
/etc/pam.d/login"
|
/etc/pam.d/login"
|
||||||
conflicts="chroot-util-linux>=0 coreutils<8.21_3 shadow<4.1.5.1_14"
|
replaces="eject>=0"
|
||||||
replaces="util-linux-ng>=0 e2fsprogs<=1.41.14_1 eject>=0 shadow<4.1.5.1_3"
|
|
||||||
provides="eject-${version}_1"
|
provides="eject-${version}_1"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
|
Loading…
Reference in a new issue