Searched defs:ptemp (Results 1 - 1 of 1) sorted by relevance
/illumos-gate/usr/src/ucbcmd/vipw/ |
H A D | vipw.c | 58 char *ptemp = "/etc/ptmp"; variable 92 if (copyfile(passwd, ptemp)) 95 if (stat(ptemp, &sbuf) < 0) { 97 "vipw: can't stat ptemp file, %s unchanged\n", 104 if (editfile(editor, ptemp, passwd, &n_mtime)) { 105 if (sanity_check(ptemp, &n_mtime, passwd)) 117 if (chmod(ptemp, (osbuf.st_mode & 0644)) < 0) { 118 (void) fprintf(stderr, "vipw: %s: ", ptemp); 122 if (rename(ptemp, passwd) < 0) { 123 (void) fprintf(stderr, "vipw: %s: ", ptemp); [all...] |
Completed in 44 milliseconds