Searched refs:ROOTKEY_FILE (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keylogin.c | 52 #define ROOTKEY_FILE "/etc/.rootkey" macro 125 if ((rename(ROOTKEY_FILE, ROOTKEY_FILE_BACKUP)) < 0) { 133 if ((rootfd = open(ROOTKEY_FILE, O_WRONLY+O_CREAT, 0600)) < 0) { 137 (void) rename(ROOTKEY_FILE_BACKUP, ROOTKEY_FILE); 145 unlink(ROOTKEY_FILE); 146 rename(ROOTKEY_FILE_BACKUP, ROOTKEY_FILE); 154 unlink(ROOTKEY_FILE); 155 rename(ROOTKEY_FILE_BACKUP, ROOTKEY_FILE); 214 fprintf(stderr, "Wrote secret key into %s\n", ROOTKEY_FILE); 217 ROOTKEY_FILE); [all...] |
H A D | chkey.c | 68 #define ROOTKEY_FILE "/etc/.rootkey" macro 744 if ((rename(ROOTKEY_FILE, ROOTKEY_FILE_BACKUP)) < 0) { 752 if ((rootfd = open(ROOTKEY_FILE, O_WRONLY+O_CREAT, 0600)) < 0) { 756 rename(ROOTKEY_FILE_BACKUP, ROOTKEY_FILE); 764 unlink(ROOTKEY_FILE); 765 rename(ROOTKEY_FILE_BACKUP, ROOTKEY_FILE); 773 unlink(ROOTKEY_FILE); 774 rename(ROOTKEY_FILE_BACKUP, ROOTKEY_FILE);
|
H A D | chkey_common.c | 45 #define ROOTKEY_FILE "/etc/.rootkey" macro
|
H A D | keyserv.c | 510 #define ROOTKEY_FILE "/etc/.rootkey" macro
|
Completed in 60 milliseconds