1PAM_DENY(8)                    Linux-PAM Manual                    PAM_DENY(8)
2
3
4

NAME

6       pam_deny - The locking-out PAM module
7

SYNOPSIS

9       pam_deny.so
10

DESCRIPTION

12       This module can be used to deny access. It always indicates a failure
13       to the application through the PAM framework. It might be suitable for
14       using for default (the OTHER) entries.
15

OPTIONS

17       This module does not recognise any options.
18

MODULE TYPES PROVIDED

20       All module types (account, auth, password and session) are provided.
21

RETURN VALUES

23       PAM_AUTH_ERR
24           This is returned by the account and auth services.
25
26       PAM_CRED_ERR
27           This is returned by the setcred function.
28
29       PAM_AUTHTOK_ERR
30           This is returned by the password service.
31
32       PAM_SESSION_ERR
33           This is returned by the session service.
34

EXAMPLES

36           #%PAM-1.0
37           #
38           # If we donĀ“t have config entries for a service, the
39           # OTHER entries are used. To be secure, warn and deny
40           # access to everything.
41           other auth     required       pam_warn.so
42           other auth     required       pam_deny.so
43           other account  required       pam_warn.so
44           other account  required       pam_deny.so
45           other password required       pam_warn.so
46           other password required       pam_deny.so
47           other session  required       pam_warn.so
48           other session  required       pam_deny.so
49
50

SEE ALSO

52       pam.conf(5), pam.d(5), pam(8)
53

AUTHOR

55       pam_deny was written by Andrew G. Morgan <morgan@kernel.org>
56
57
58
59Linux-PAM Manual                  03/02/2009                       PAM_DENY(8)
Impressum