Re: [arch-general] PAM CAllback

2020-05-14 Thread Matt Pallissard
On 2020-05-13T22:26:16 +0100, Andy Pieters wrote: > Hi Matt > > On Wed, 13 May 2020 at 15:01, Andy Pieters > wrote: > > > > > > > On Wed, 13 May 2020 at 14:53, Matt Pallissard wrote: > > > >> > >> On 2020-05-13T12:39:50 +0100, Andy Pieters wrote: > >> > >> Should be doable, skip to pam_exec.so

Re: [arch-general] PAM CAllback

2020-05-13 Thread Andy Pieters
Hi Matt On Wed, 13 May 2020 at 15:01, Andy Pieters wrote: > > > On Wed, 13 May 2020 at 14:53, Matt Pallissard 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}` >> > Something appears to be wrong with

Re: [arch-general] PAM CAllback

2020-05-13 Thread Andy Pieters
On Wed, 13 May 2020 at 14:53, Matt Pallissard 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

Re: [arch-general] PAM CAllback

2020-05-13 Thread Matt Pallissard
On 2020-05-13T12:39:50 +0100, Andy Pieters wrote: > Hi > > I am looking to have PAM call a script after a successful 2F authentication. > > My impression is that it is not going to be possible. > > I even have got a question open on StackExchange about it [1] > > Any ideas? > > [1] > https://unix.

[arch-general] PAM CAllback

2020-05-13 Thread Andy Pieters
Hi I am looking to have PAM call a script after a successful 2F authentication. My impression is that it is not going to be possible. I even have got a question open on StackExchange about it [1] Any ideas? [1] https://unix.stackexchange.com/questions/586243/callback-when-logged-on-via-pam-2f-