Searched refs:newpasswdfile (Results 1 – 1 of 1) sorted by relevance
100 char newpasswdfile[FILENAME_MAX]; in changepasswd() local178 strcpy(newpasswdfile, passwd_file); in changepasswd()179 strcat(newpasswdfile, ".ptmp"); in changepasswd()234 if ((npwfd = open(newpasswdfile, O_WRONLY | O_CREAT | O_EXCL, in changepasswd()242 newpasswdfile); in changepasswd()252 "yppasswdd: fdopen() on %s failed\n", newpasswdfile); in changepasswd()650 if (rename(newpasswdfile, passwd_file) < 0) { in changepasswd()748 unlink(newpasswdfile); in changepasswd()