HomeSort by: relevance | last modified time | path
    Searched defs:nologin (Results 1 - 1 of 1) sorted by relevancy

  /src/lib/libpam/modules/pam_nologin/
pam_nologin.c 64 #define NOLOGIN "/etc/nologin"
66 static char nologin_def[] = NOLOGIN;
78 const char *user, *nologin; local
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))
    [all...]

Completed in 21 milliseconds