Re: PAM CAllback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 13 May 2020 at 14:53, Matt Pallissard <matt@xxxxxxxxxxxxxx> wrote:

>
> On 2020-05-13T12:39:50 +0100, Andy Pieters wrote:
>
> Should be doable, skip to pam_exec.so with `success=${num lines to skip}`
>
>
So

> man 8 pam_exec
>
> auth sufficient                  pam_unix.so
> auth [success=1 default=ignore]  foo_2fa.so some_other=options
> auth requisite                   pam_deny.so
> auth optional                    pam_exec.so debug /path/to/my/script.sh
>

Does that mean then that the auth_optional line is only *ever* triggered by
a success on the 2fa line? No other way for PAM to execute it?



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux