diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-12-31 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-12-31 08:00:00 +0000 |
commit | 4c409f11517b815c615b5c0ceddf451bd1cd844a (patch) | |
tree | 419b3c468524e75b3ab26a89d7fd1bf78329a8ed /modules/pam_listfile | |
parent | ff4d1a7c8dffd2a76282d975af50ec1c262ab0d2 (diff) | |
download | pam-4c409f11517b815c615b5c0ceddf451bd1cd844a.tar.gz pam-4c409f11517b815c615b5c0ceddf451bd1cd844a.tar.bz2 pam-4c409f11517b815c615b5c0ceddf451bd1cd844a.zip |
pam_listfile.8: enhance formatting
* modules/pam_listfile/pam_listfile.8.xml: Fix formatting of option
arguments.
Diffstat (limited to 'modules/pam_listfile')
-rw-r--r-- | modules/pam_listfile/pam_listfile.8.xml | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/modules/pam_listfile/pam_listfile.8.xml b/modules/pam_listfile/pam_listfile.8.xml index c3531bb6..40a553dc 100644 --- a/modules/pam_listfile/pam_listfile.8.xml +++ b/modules/pam_listfile/pam_listfile.8.xml @@ -47,28 +47,27 @@ <para> The module gets the <option>item</option> of the type specified -- <emphasis>user</emphasis> specifies the username, - <emphasis>PAM_USER</emphasis>; tty specifies the name of the terminal - (if any) over which the request has been made, <emphasis>PAM_TTY</emphasis>; - rhost specifies the name of the remote host (if any) from which the - request was made, <emphasis>PAM_RHOST</emphasis>; and ruser specifies + <emphasis>PAM_USER</emphasis>; <emphasis>tty</emphasis> specifies the + name of the terminal (if any) over which the request has been made, + <emphasis>PAM_TTY</emphasis>; <emphasis>rhost</emphasis> specifies the + name of the remote host (if any) from which the request was made, + <emphasis>PAM_RHOST</emphasis>; and <emphasis>ruser</emphasis> specifies the name of the remote user (if available) who made the request, - <emphasis>PAM_RUSER</emphasis> -- and looks for an instance of that - item in the <option>file=<replaceable>filename</replaceable></option>. - <filename>filename</filename> contains one line per item listed. If - the item is found, then if - <option>sense=<replaceable>allow</replaceable></option>, + <emphasis>PAM_RUSER</emphasis> -- and looks for an instance of that item + in the <option>file=<replaceable>filename</replaceable></option>. + <filename>filename</filename> contains one line per item listed. If the + item is found, then if <option>sense=allow</option>, <emphasis>PAM_SUCCESS</emphasis> is returned, causing the authorization - request to succeed; else if - <option>sense=<replaceable>deny</replaceable></option>, + request to succeed; else if <option>sense=deny</option>, <emphasis>PAM_AUTH_ERR</emphasis> is returned, causing the authorization request to fail. </para> <para> If an error is encountered (for instance, if <filename>filename</filename> does not exist, or a poorly-constructed - argument is encountered), then if <emphasis>onerr=succeed</emphasis>, + argument is encountered), then if <option>onerr=succeed</option>, <emphasis>PAM_SUCCESS</emphasis> is returned, otherwise if - <emphasis>onerr=fail</emphasis>, <emphasis>PAM_AUTH_ERR</emphasis> or + <option>onerr=fail</option>, <emphasis>PAM_AUTH_ERR</emphasis> or <emphasis>PAM_SERVICE_ERR</emphasis> (as appropriate) will be returned. </para> <para> |