diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2008-09-03 13:06:22 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2008-09-03 13:06:22 +0000 |
commit | 53a20abf8666d4af2522bd51bf64e9e3c2deb0cf (patch) | |
tree | 0b73a5b993d35ffc2661800633daa2e7334be0d7 /modules/pam_exec/pam_exec.8.xml | |
parent | d524b169597996b61f10ce7cdb4aa39d27867eb9 (diff) | |
download | pam-53a20abf8666d4af2522bd51bf64e9e3c2deb0cf.tar.gz pam-53a20abf8666d4af2522bd51bf64e9e3c2deb0cf.tar.bz2 pam-53a20abf8666d4af2522bd51bf64e9e3c2deb0cf.zip |
Relevant BUGIDs:
Purpose of commit: new feature
Commit summary:
---------------
2008-09-03 Thorsten Kukuk <kukuk@thkukuk.de>
* modules/pam_exec/pam_exec.c: Expose authtok if requested,
provide environment variable containing service type.
* modules/pam_exec/pam_exec.8.xml: Document new option.
Diffstat (limited to 'modules/pam_exec/pam_exec.8.xml')
-rw-r--r-- | modules/pam_exec/pam_exec.8.xml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/modules/pam_exec/pam_exec.8.xml b/modules/pam_exec/pam_exec.8.xml index 1ee25cab..3cbd6af3 100644 --- a/modules/pam_exec/pam_exec.8.xml +++ b/modules/pam_exec/pam_exec.8.xml @@ -22,6 +22,9 @@ debug </arg> <arg choice="opt"> + expose_authtok + </arg> + <arg choice="opt"> seteuid </arg> <arg choice="opt"> @@ -57,7 +60,11 @@ In addition, the following PAM items are exported as environment variables: <emphasis>PAM_RHOST</emphasis>, <emphasis>PAM_RUSER</emphasis>, <emphasis>PAM_SERVICE</emphasis>, - <emphasis>PAM_TTY</emphasis>, and <emphasis>PAM_USER</emphasis>. + <emphasis>PAM_TTY</emphasis>, <emphasis>PAM_USER</emphasis> and + <emphasis>PAM_TYPE</emphasis>, which contains one of the module + types: <option>account</option>, <option>auth</option>, + <option>password</option>, <option>open_session</option> and + <option>close_session</option>. </para> </refsect1> @@ -81,6 +88,20 @@ <varlistentry> <term> + <option>expose_authtok</option> + </term> + <listitem> + <para> + During authentication the calling command can read + the password from <citerefentry> + <refentrytitle>stdin</refentrytitle><manvolnum>3</manvolnum> + </citerefentry>. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term> <option>log=<replaceable>file</replaceable></option> </term> <listitem> |