pam_require 0.7 review

Download
by rbytes.net on

License: GPL (GNU General Public License)
File size: 7K
Developer: Andreas Gohr
0 stars award from rbytes.net

pam_require is a simple Pluggable Authentication Module (PAM) for Linux (and maybe other systems which use PAM).

pam_require is an account module that allows you to require a special user or group to access a service.

Example

/etc/pam.d/ssh:

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.

pam_require 0.7 keywords