pam_require is a simple Pluggable Authentication Module (PAM) for Linux (and maybe other systems which use PAM).
Version: 0.7pam_require is a simple Pluggable Authentication Module (PAM) for Linux (and maybe other systems which use PAM).
Operating System: Linux
pam_require is an account module that allows you to require a special user or group to access a service.
auth required pam_nologin.so
auth required pam_unix.so
auth required pam_env.so
account required pam_unix.so
account required pam_require.so @ssh-users admin
session required pam_unix.so
session optional pam_lastlog.so
session optional pam_motd.so
session optional pam_mail.so standard noenv
session required pam_limits.so
password required pam_unix.so
The above example requires a user to be member of the group ssh-users or to be user admin himself to login via ssh.
What's New in This Release:
· This release adds the ability to do non-case-sensitive matches, and fixes how negations are handled.