]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: use PAM_SILENT to propagate hushlogin to PAM
authorKarel Zak <kzak@redhat.com>
Tue, 16 Jun 2020 11:49:48 +0000 (13:49 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Jun 2020 11:54:14 +0000 (13:54 +0200)
commit31d79197c01461397e5fd6b69830be3b69f6b2c5
tree076dbf79c25c98e1ac6c010f21e28a0af3470495
parentb66e4d8a037ccc07ce68e215a2bf35167924c5db
login: use PAM_SILENT to propagate hushlogin to PAM

login(1) follows /etc/hushlogin and ~/.hushlogin to enable silent
mode, but it's not propagated to PAM now. Note that login(1) from
shadow-utils uses PAM_SILENT too.

Addresses: https://github.com/linux-pam/linux-pam/issues/233
Addresses: https://github.com/karelzak/util-linux/issues/1059
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.c