Searched refs:shadow_file (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/ypcmd/yppasswd/ |
H A D | yppasswdd.c | 137 char passwd_file[FILENAME_MAX], shadow_file[FILENAME_MAX]; variable 152 strcpy(shadow_file, DEFDIR MYSHADOW); in main() 176 strcpy(shadow_file, argv[i]); in main() 181 strcat(shadow_file, MYSHADOW); in main() 186 strcat(shadow_file, "/" MYSHADOW); in main() 233 memset(shadow_file, 0, sizeof (shadow_file)); in main() 234 strncpy(shadow_file, argv[i], in main() 236 strcat(shadow_file, MYSHADOW); in main() 242 if (access(shadow_file, F_OK) == 0) { in main() 290 if (access(shadow_file, W_OK) == 0) { in main() [all …]
|
H A D | changepasswd.c | 133 extern char passwd_file[], shadow_file[], adjunct_file[]; in changepasswd() 180 strcpy(newshadowfile, shadow_file); in changepasswd() 210 if ((ospfp = fopen(shadow_file, "r")) == NULL) { in changepasswd() 212 "yppasswdd: Could not open %s\n", shadow_file); in changepasswd() 594 shadow_file); in changepasswd() 636 strcpy(tmpshadowfile, shadow_file); in changepasswd() 664 if (rename(shadow_file, tmpshadowfile) < 0) { in changepasswd() 674 if (rename(newshadowfile, shadow_file) < 0) { in changepasswd() 677 if (rename(tmpshadowfile, shadow_file) < 0) { in changepasswd()
|