Lines Matching refs:passwd_file
133 extern char passwd_file[], shadow_file[], adjunct_file[]; in changepasswd()
178 strcpy(newpasswdfile, passwd_file); in changepasswd()
202 if ((opwfp = fopen(passwd_file, "r")) == NULL) { in changepasswd()
203 syslog(LOG_ERR, "yppasswdd: Could not open %s\n", passwd_file); in changepasswd()
572 passwd_file); in changepasswd()
611 passwd_file); in changepasswd()
633 strcpy(tmppasswdfile, passwd_file); in changepasswd()
645 if (rename(passwd_file, tmppasswdfile) < 0) { in changepasswd()
650 if (rename(newpasswdfile, passwd_file) < 0) { in changepasswd()
653 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()
667 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()
682 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()
694 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()
704 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()