summaryrefslogtreecommitdiff
path: root/modules/pam_nologin/README
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_nologin/README')
-rw-r--r--modules/pam_nologin/README15
1 files changed, 13 insertions, 2 deletions
diff --git a/modules/pam_nologin/README b/modules/pam_nologin/README
index 0586de66..11dc7635 100644
--- a/modules/pam_nologin/README
+++ b/modules/pam_nologin/README
@@ -5,8 +5,19 @@ This module always lets root in; it lets other users in only if the file
/etc/nologin doesn't exist. In any case, if /etc/nologin exists, it's
contents are displayed to the user.
+The default return value for this module is PAM_IGNORE, you can
+override this with the successok module argument.
+
module services provided:
- auth _authentication and _setcred (blank)
+ auth _authenticate and _setcred
+ account _acct_mgmt
+
+optional arguments:
+
+ file=<alternative-nologin-pathname> - choose a different file
+ successok - return PAM_SUCCESS if no file
+
+[Original README by Michael K. Johnson]
+
-Michael K. Johnson