summaryrefslogtreecommitdiff
path: root/doc/man
diff options
context:
space:
mode:
authorJeff Squyres <jsquyres@cisco.com>2021-05-19 11:38:01 -0700
committerTomáš Mráz <tm@t8m.info>2021-05-24 08:43:38 +0200
commitd62120ed7cfa99dec0e66e562f20fb32987c5980 (patch)
tree2122c3324f9ef8d450bc4d16fff984148fc61fe8 /doc/man
parent82288cd81501acb005ee998043c3cc86c1298477 (diff)
pam.conf: clarify default action for unspecified return codes
Add short blurbs explaining that if a return code is not specified in the "[value1=action1 value2=action2 ...]" form and "default=action" is not specified, that return code's action defaults to "bad". Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/pam.conf-syntax.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/man/pam.conf-syntax.xml b/doc/man/pam.conf-syntax.xml
index 864a580d..5112f930 100644
--- a/doc/man/pam.conf-syntax.xml
+++ b/doc/man/pam.conf-syntax.xml
@@ -265,7 +265,8 @@
this action indicates that the return code should be thought
of as indicative of the module failing. If this module is the
first in the stack to fail, its status value will be used for
- that of the whole stack.
+ that of the whole stack. This is the default action for
+ all return codes.
</para>
</listitem>
</varlistentry>
@@ -336,6 +337,13 @@
</variablelist>
<para>
+ If a return code's action is not specifically defined via a
+ <emphasis>valueN</emphasis> token, and the
+ <emphasis>default</emphasis> value is not specified, that return
+ code's action defaults to <emphasis>bad</emphasis>.
+ </para>
+
+ <para>
Each of the four keywords: required; requisite; sufficient; and
optional, have an equivalent expression in terms of the [...]
syntax. They are as follows: