Searched refs:passwd_file (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/ypcmd/yppasswd/ |
H A D | changepasswd.c | 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() [all …]
|
H A D | yppasswdd.c | 137 char passwd_file[FILENAME_MAX], shadow_file[FILENAME_MAX]; variable 151 strcpy(passwd_file, DEFDIR MYPASSWD); in main() 175 strcpy(passwd_file, argv[i]); in main() 180 strcat(passwd_file, MYPASSWD); in main() 185 strcat(passwd_file, "/" MYPASSWD); in main() 232 strcpy(passwd_file, argv[i]); in main() 247 passwd_file); in main() 285 if (access(passwd_file, W_OK) < 0) { in main() 287 passwd_file); in main()
|