ubuntu:pam:disable_pam_for_a_group
Ubuntu - PAM - Disable PAM for a group
You can use pam_succeed_if module (see manual page) for the authentication part:
# the other authentication methods, such as @include common-auth auth [success=1 default=ignore] pam_succeed_if.so user ingroup group auth required pam_google_authenticator ...
ubuntu/pam/disable_pam_for_a_group.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1