Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c150 strcpy(shadow_file, DEFDIR MYSHADOW); in main()
174 strcpy(shadow_file, argv[i]); in main()
179 strcat(shadow_file, MYSHADOW); in main()
184 strcat(shadow_file, "/" MYSHADOW); in main()
231 memset(shadow_file, 0, sizeof (shadow_file)); in main()
232 strncpy(shadow_file, argv[i], in main()
234 strcat(shadow_file, MYSHADOW); in main()
240 if (access(shadow_file, F_OK) == 0) { in main()
288 if (access(shadow_file, W_OK) == 0) { in main()
292 if (strcmp(DEFDIR MYSHADOW, shadow_file) == 0) { in main()
[all …]
H A Dchangepasswd.c133 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()