"Andrey A. Chernov" <[EMAIL PROTECTED]> writes: > Now I mean plain /usr/bin/login, I don't see "Last login" from it anymore, > it seems it is gone when login was PAMifized. Please restore it back > (depending on quietlog as it was before).
See attached patch. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED]
==== //depot/user/des/pam/usr.bin/login/login.c#7 - /usr/src/usr.bin/login/login.c ==== --- /tmp/tmp.36820.0 Sun Apr 21 19:46:53 2002 +++ /usr/src/usr.bin/login/login.c Sun Apr 21 19:45:59 2002 @@ -353,6 +353,8 @@ lc = login_getpwclass(pwd); quietlog = login_getcapbool(lc, "hushlogin", 0); + if (!quietlog) + pam_silent = 0; /* * Switching needed for NFS with root access disabled.