pam_script icon indicating copy to clipboard operation
pam_script copied to clipboard

pam_script vs pam_exec?

Open neuhaus opened this issue 3 years ago • 1 comments

These days it appears that pam_exec comes bundled with PAM on Linux.

Why should i use pam_script instead of pam_exec? Does it have advantages? Is it because pam_exec is not available elsewhere?

The fact that with pam_exec PAM_AUTHTOK is passed via stdin instead of the environment (and only when enabled via a parameter) makes it appear to be safer than pam_script. Perhaps you should switch to that mechanism, too?

neuhaus avatar Nov 15 '21 13:11 neuhaus

looks about the same?

ssk-wh avatar Sep 13 '22 07:09 ssk-wh