Searched refs:ptemp (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/ucbcmd/vipw/ |
H A D | vipw.c | 58 char *ptemp = "/etc/ptmp"; variable 92 if (copyfile(passwd, ptemp)) in main() 95 if (stat(ptemp, &sbuf) < 0) { in main() 104 if (editfile(editor, ptemp, passwd, &n_mtime)) { in main() 105 if (sanity_check(ptemp, &n_mtime, passwd)) in main() 117 if (chmod(ptemp, (osbuf.st_mode & 0644)) < 0) { in main() 118 (void) fprintf(stderr, "vipw: %s: ", ptemp); in main() 122 if (rename(ptemp, passwd) < 0) { in main() 123 (void) fprintf(stderr, "vipw: %s: ", ptemp); in main() 130 (void) fprintf(stderr, "vipw: %s ", ptemp); in main() [all …]
|