pam-setcred-dont-ask-for-passwords-20011101
authorCarsten Jacobi <carsten@ccac.rwth-aachen.de>
Thu, 1 Nov 2001 05:45:12 +0000 (05:45 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 1 Nov 2001 05:45:12 +0000 (05:45 +0000)
don't prompt for passwords during setcred step

src/pam/afs_setcred.c

index 92f83be..d8dc516 100644 (file)
@@ -45,7 +45,7 @@ pam_sm_setcred(
     int origmask;
     int logmask = LOG_UPTO(LOG_INFO);
     int nowarn = 0;
-    int use_first_pass = 0; /* use the password passed in by auth */
+    int use_first_pass = 1; /* use the password passed in by auth */
     int try_first_pass = 0;
     int got_authtok = 0;
     int ignore_uid  = 0;