/usr/share/doc/pam/txts
NameSizeModeActions
README.pam_access52530644editdlrm
README.pam_chroot15100644editdlrm
README.pam_console19250644editdlrm
README.pam_cracklib97570644editdlrm
README.pam_debug19950644editdlrm
README.pam_deny10350644editdlrm
README.pam_echo11000644editdlrm
README.pam_env36270644editdlrm
README.pam_exec22300644editdlrm
README.pam_faildelay8270644editdlrm
README.pam_faillock60620644editdlrm
README.pam_filter31020644editdlrm
README.pam_ftp16990644editdlrm
README.pam_group21750644editdlrm
README.pam_issue13560644editdlrm
README.pam_keyinit22450644editdlrm
README.pam_lastlog25970644editdlrm
README.pam_limits24210644editdlrm
README.pam_listfile36260644editdlrm
README.pam_localuser11670644editdlrm
README.pam_loginuid11170644editdlrm
README.pam_mail20090644editdlrm
README.pam_mkhomedir13610644editdlrm
README.pam_motd25880644editdlrm
README.pam_namespace115430644editdlrm
README.pam_nologin13480644editdlrm
README.pam_permit9070644editdlrm
README.pam_postgresok3460644editdlrm
README.pam_pwhistory22430644editdlrm
README.pam_rhosts18820644editdlrm
README.pam_rootok10860644editdlrm
README.pam_securetty13420644editdlrm
README.pam_selinux29090644editdlrm
README.pam_sepermit16480644editdlrm
README.pam_shells6530644editdlrm
README.pam_stress20600644editdlrm
README.pam_succeed_if28640644editdlrm
README.pam_time13010644editdlrm
README.pam_timestamp16160644editdlrm
README.pam_tty_audit27790644editdlrm
README.pam_umask16310644editdlrm
README.pam_unix72650644editdlrm
README.pam_userdb29730644editdlrm
README.pam_usertype12000644editdlrm
README.pam_warn12240644editdlrm
README.pam_wheel19680644editdlrm
README.pam_xauth36950644editdlrm
Edit: /usr/share/doc/pam/txts/README.pam_exec (2230B)
pam_exec — PAM module which calls an external command ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ DESCRIPTION pam_exec is a PAM module that can be used to run an external command. The child's environment is set to the current PAM environment list, as returned by pam_getenvlist(3) In addition, the following PAM items are exported as environment variables: PAM_RHOST, PAM_RUSER, PAM_SERVICE, PAM_TTY, PAM_USER and PAM_TYPE, which contains one of the module types: account, auth, password, open_session and close_session. Commands called by pam_exec need to be aware of that the user can have controll over the environment. OPTIONS debug Print debug information. expose_authtok During authentication the calling command can read the password from stdin (3). Only first PAM_MAX_RESP_SIZE bytes of a password are provided to the command. log=file The output of the command is appended to file type=type Only run the command if the module type matches the given type. stdout Per default the output of the executed command is written to /dev/null. With this option, the stdout output of the executed command is redirected to the calling application. It's in the responsibility of this application what happens with the output. The log option is ignored. quiet Per default pam_exec.so will echo the exit status of the external command if it fails. Specifying this option will suppress the message. seteuid Per default pam_exec.so will execute the external command with the real user ID of the calling process. Specifying this option means the command is run with the effective user ID. EXAMPLES Add the following line to /etc/pam.d/passwd to rebuild the NIS database after each local password change: password optional pam_exec.so seteuid /usr/bin/make -C /var/yp This will execute the command make -C /var/yp with effective user ID. AUTHOR pam_exec was written by Thorsten Kukuk and Josh Triplett .