Lines Matching defs:nologin
64 #define NOLOGIN "/etc/nologin"
78 const char *user, *nologin;
88 * For root, the default is to ignore nologin, but the
93 * failure will not cause the nologin capability to be ignored.
105 nologin = login_getcapstr(lc, "nologin", nologin_def, nologin_def);
112 if ((fd = open(nologin, O_RDONLY, 0)) == -1) {
124 PAM_LOG("Cannot open %s file: %s", nologin, strerror(errno));
128 PAM_LOG("Opened %s file", nologin);
144 PAM_VERBOSE_ERROR("Administrator refusing you: %s", nologin);