Lines Matching defs:history
370 * Password history file format:
376 #define HISTMODE S_IRUSR /* mode to create history file */
390 * old password history.
397 * PWU_SUCCESS, passwd found in user's old password history.
400 * PWU_NOT_FOUND, passwd not in user's old password history.
419 * treating user not found in backing store or no history as
431 debug("files_checkhistory: no history requested");
527 FILE *history;
532 debug("files_getattr: Get password history for %s ",
535 if ((history = fopen(HISTORY, "rF")) == NULL) {
541 while ((s = fgets(buf, sizeof (buf), history)) !=
551 debug("got history line for %s", s);
563 (void) fclose(history);
1144 FILE *src; /* history database file */
1145 FILE *dst; /* temp history database being updated */
1152 debug("files_update_history(%s) no history, unlinking", name);
1154 return (PWU_SUCCESS); /* no history update defined */
1204 /* get old crypted password history */
1228 /* user not found, add to history file */
1246 * rename history to ohistory,
1247 * rename tmp to history,
1257 /* old history won't go away, loose the update */