summaryrefslogtreecommitdiff
path: root/modules/pam_nologin/README
blob: 11dc7635b80b4a2c8d380a34727d90ce0b0da9f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id$
#

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		_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]