I have to limit logon time access for some users. I have googled and found it is possible with pam modules and time.conf.
My question is: is it possible to do the same but with groups so, instead of dealing with users, just gather these users and set limited logon time to this group?
I am using an ldap server with centos7.