Lines Matching refs:password
58 #define MAXPASSWD 256 /* max significant characters in password */
318 * (d) the login password of root on target_host is returned
325 * (d) the login password of the user <username> is returned
333 static char password[MAXPASSWD+1];
353 "%s: unable to locate password record for uid %d\n",
363 "%s: unable to locate shadow password record for %s\n",
369 (void) sprintf(prompt, "Enter local root login password:");
371 (void) sprintf(prompt, "Enter %s's login password:",
376 (void) fprintf(stderr, "%s: Invalid password.\n",
380 strcpy(password, pass);
381 encrypted_password = crypt(password, login_password);
383 /* Verify that password supplied matches login password */
388 pass = getpassphrase("Please retype password:");
390 (void) fprintf(stderr, "%s: Invalid password.\n",
394 strcpy(password, pass);
395 encrypted_password = crypt(password, login_password);
398 "%s: ERROR, invalid password.\n",
407 * Since we cannot verify the root password of the remote
410 * the user to enter the target host's password twice and
422 "Enter %s's root login password:",
433 "%s: Invalid root password.\n",
437 strcpy(password, pass);
440 * Now re-enter the password and compare it to the
444 "Please confirm %s's root login password:",
455 "%s: Invalid root password.\n",
459 if (strcmp(pass, password) != 0) {
467 return (password);