Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created January 12, 2022 09:31
Show Gist options
  • Save velotiotech/bef7b2d1554aba0dd2b5e41f40f08a91 to your computer and use it in GitHub Desktop.
Save velotiotech/bef7b2d1554aba0dd2b5e41f40f08a91 to your computer and use it in GitHub Desktop.
auth required pam_qrapp_auth.so
account required pam_nologin.so
@include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
@include common-session
session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so noupdate
session optional pam_mail.so standard noenv # [1]
session required pam_limits.so
session required pam_env.so # [1]
session required pam_env.so user_readenv=1 envfile=/etc/default/locale
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
@include common-password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment