Searched refs:_PATH_NOLOGIN (Results 1 – 6 of 6) sorted by relevance
37 #undef _PATH_NOLOGIN38 #define _PATH_NOLOGIN "./nologin" macro430 (void)unlink(_PATH_NOLOGIN); /* in case linked to another file */ in nolog()435 if ((logfd = open(_PATH_NOLOGIN, O_WRONLY|O_CREAT|O_TRUNC, in nolog()451 (void)unlink(_PATH_NOLOGIN);
29 #define _PATH_NOLOGIN "/etc/nologin" macro
34 char NOLOGIN[] = _PATH_NOLOGIN;
485 if ((fd = open(_PATH_NOLOGIN, O_RDONLY, 0)) >= 0) { in checknologin()
441 if (pwd->pw_uid && !access(_PATH_NOLOGIN, F_OK)) {
279 if ((fd = fopen(_PATH_NOLOGIN,"r")) != NULL) {