ubuntu:pam:disable_pam_for_a_group
This is an old revision of the document!
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.1575208506.txt.gz · Last modified: 2020/07/15 09:30 (external edit)