Magellan Linux

Annotation of /trunk/netkit-rsh/netkit-rsh-0.17-pam-nologin.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 97 - (hide annotations) (download)
Fri Jan 19 23:50:26 2007 UTC (17 years, 5 months ago) by niro
File size: 531 byte(s)
new files

1 niro 97 --- netkit-rsh-0.17-pre20000412/rlogind/auth.c.orig Tue Mar 19 11:46:29 2002
2     +++ netkit-rsh-0.17-pre20000412/rlogind/auth.c Wed Apr 17 16:35:43 2002
3     @@ -127,7 +127,10 @@
4    
5     network_confirm();
6     retval = attempt_auth();
7     - if (retval != PAM_SUCCESS) {
8     + if ((retval == PAM_ACCT_EXPIRED) || (retval == PAM_PERM_DENIED)) {
9     + syslog(LOG_ERR, "PAM authentication denied for in.rlogind");
10     + exit(1);
11     + } else if (retval != PAM_SUCCESS) {
12     syslog(LOG_ERR, "PAM authentication failed for in.rlogind");
13     return -1;
14     }