Don't use PAM_SILENT unless hushlogin is set (perforce change 10123)

Sponsored by:	DARPA, NAI Labs
This commit is contained in:
Dag-Erling Smørgrav 2002-04-22 06:27:16 +00:00
parent 6e8ced7fd0
commit 05da55ee50
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95243

View file

@ -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.