Searched refs:PASSTEMP (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/pwconv/ |
H A D | pwconv.c | 62 #define DELPTMP() (void) unlink(PASSTEMP) 168 if ((tp_fp = fopen(PASSTEMP, "w")) == NULL) { in main() 173 if (chown(PASSTEMP, pwd_uid, pwd_gid) < 0) { in main() 412 if (rename(PASSTEMP, PASSWD) == -1) { in main()
|
/titanic_41/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 656 fd_ptemp = open(PASSTEMP, O_CREAT|O_EXCL|O_WRONLY, statbuf.st_mode); in main() 659 if (unlink(PASSTEMP)) { in main() 662 PASSTEMP); in main() 664 fd_ptemp = open(PASSTEMP, O_CREAT|O_EXCL|O_WRONLY, in main() 681 if (unlink(PASSTEMP)) { in main() 684 PASSTEMP); in main() 1315 if (rename(PASSTEMP, PASSWD) == -1) { in main() 1653 if (unlink(PASSTEMP)) { in rid_tmpf() 1655 (void) fprintf(stderr, gettext(msg), prognamp, PASSTEMP); in rid_tmpf()
|
/titanic_41/usr/src/head/ |
H A D | shadow.h | 44 #define PASSTEMP "/etc/ptmp" macro
|
/titanic_41/usr/src/lib/passwdutil/ |
H A D | files_attr.c | 1023 if ((tempfd = open(PASSTEMP, O_WRONLY|O_CREAT|O_TRUNC, 0600)) < 0) { in files_update_passwd() 1034 (void) unlink(PASSTEMP); in files_update_passwd() 1064 (void) unlink(PASSTEMP); in files_update_passwd() 1070 (void) unlink(PASSTEMP); in files_update_passwd() 1074 if (rename(PASSTEMP, PASSWD) == -1) { in files_update_passwd() 1076 (void) unlink(PASSTEMP); in files_update_passwd()
|