Home
last modified time | relevance | path

Searched refs:newpasswdfile (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c100 char newpasswdfile[FILENAME_MAX]; in changepasswd() local
178 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()