mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 01:03:42 +00:00
Don't use PAM_SILENT unless hushlogin is set (perforce change 10123)
Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
6e8ced7fd0
commit
05da55ee50
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95243
|
@ -353,6 +353,8 @@ main(int argc, char *argv[])
|
|||
lc = login_getpwclass(pwd);
|
||||
|
||||
quietlog = login_getcapbool(lc, "hushlogin", 0);
|
||||
if (!quietlog)
|
||||
pam_silent = 0;
|
||||
|
||||
/*
|
||||
* Switching needed for NFS with root access disabled.
|
||||
|
|
Loading…
Reference in a new issue