alexander-naumov / pam2control

Easily configurable authentication provider
GNU General Public License v3.0
3 stars 2 forks source link

Support for POSIX group #2

Closed alexander-naumov closed 4 years ago

alexander-naumov commented 4 years ago

Right now it is possible to set acces rule for specific user: ssh open user boby Would be nice to have support of POSIX group, what could make it possible to set access rules for group of users.

alexander-naumov commented 4 years ago

Now it is possible to define group of users by using group parameter in the config file. You have to define name of group and not the gid. Tested on Debian 9 "Stretch".

Example:

sshd close user root
sshd open group devel
alexander-naumov commented 4 years ago

Tested on openSUSE. It works well.