Lines Matching defs:password
5 * format of the password file:
7 * password last login date failed usage count
98 /* decrypt the password */
118 char password[PASSWDLEN + 1], *p, *passwd;
144 fprintf(stderr, "Your password is disabled. Please see your administrator.\n");
166 /* need to verify against old password */
168 passwd = getpass("Enter OLD AFP password: ");
171 fprintf(stderr, "afppasswd: invalid password.\n");
177 /* new password */
178 passwd = getpass("Enter NEW AFP password: ");
179 memcpy(password, passwd, sizeof(password));
180 password[PASSWDLEN] = '\0';
183 if (passwd = FascistCheck(password, _PATH_CRACKLIB)) {
191 passwd = getpass("Enter NEW AFP password again: ");
192 if (strcmp(passwd, password) == 0) {
196 convert_passwd(p, password, keyfd);
206 printf("afppasswd: updated password.\n");
221 /* creates a file with all the password entries */
274 fprintf(stderr, " -c create and initialize password file or specific user\n");
286 case 'c': /* create and initialize password file or specific user */
320 fprintf(stderr, " -c create and initialize password file or specific user\n");
333 fprintf(stderr, "afppasswd: only root can create the password file.\n");
338 fprintf(stderr, "afppasswd: password file already exists.\n");
356 fprintf(stderr, "afppasswd: can't get password entry.\n");