diff options
Diffstat (limited to 'modules/pam_exec/README')
-rw-r--r-- | modules/pam_exec/README | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/pam_exec/README b/modules/pam_exec/README index 14d1b9f0..a17343bd 100644 --- a/modules/pam_exec/README +++ b/modules/pam_exec/README @@ -12,6 +12,9 @@ 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 @@ -43,7 +46,7 @@ EXAMPLES Add the following line to /etc/pam.d/passwd to rebuild the NIS database after each local password change: - passwd optional pam_exec.so seteuid make -C /var/yp + password optional pam_exec.so seteuid /usr/bin/make -C /var/yp This will execute the command |