Magellan Linux

Contents of /trunk/netkit-rsh/netkit-rsh-0.17-pam-sess.patch

Parent Directory Parent Directory | Revision Log Revision Log


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

1 --- netkit-rsh-0.17/rexecd/rexecd.c.pam-sess 2004-11-17 10:58:27.894345912 +0100
2 +++ netkit-rsh-0.17/rexecd/rexecd.c 2004-11-17 10:58:44.794776656 +0100
3 @@ -307,6 +307,9 @@
4 PAM_BAIL;
5 pam_error = pam_setcred(pamh, PAM_ESTABLISH_CRED);
6 PAM_BAIL;
7 + pam_error = pam_open_session(pamh, 0);
8 + PAM_BAIL;
9 + pam_close_session(pamh, 0);
10 pam_end(pamh, PAM_SUCCESS);
11 /* If this point is reached, the user has been authenticated. */
12 setpwent();