Home
last modified time | relevance | path

Searched refs:_PATH_NOLOGIN (Results 1 – 6 of 6) sorted by relevance

/original-bsd/sbin/shutdown/
H A Dshutdown.c37 #undef _PATH_NOLOGIN
38 #define _PATH_NOLOGIN "./nologin" macro
430 (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);
/original-bsd/include/
H A Dpaths.h29 #define _PATH_NOLOGIN "/etc/nologin" macro
/original-bsd/usr.bin/uucp/libuu/
H A Duucpdefs.c34 char NOLOGIN[] = _PATH_NOLOGIN;
/original-bsd/usr.bin/login/
H A Dlogin.c485 if ((fd = open(_PATH_NOLOGIN, O_RDONLY, 0)) >= 0) { in checknologin()
/original-bsd/libexec/rshd/
H A Drshd.c441 if (pwd->pw_uid && !access(_PATH_NOLOGIN, F_OK)) {
/original-bsd/libexec/ftpd/
H A Dftpd.c279 if ((fd = fopen(_PATH_NOLOGIN,"r")) != NULL) {