Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c103 char tmppasswdfile[FILENAME_MAX]; in changepasswd() local
633 strcpy(tmppasswdfile, passwd_file); in changepasswd()
634 strcat(tmppasswdfile, "-"); in changepasswd()
645 if (rename(passwd_file, tmppasswdfile) < 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()
728 unlink(tmppasswdfile); in changepasswd()