I try to restrict login to openvpn by time.
I uncommented this line in /etc/pam.d/openvpnas :
I added this line in /etc/security/time.conf :account requisite pam_time.so
In theory, user "zou" must not be able to login to openVPN (this is a test setting) but this is not working...*;*;zou;!Al0000-2400
What am I missing in this configuration ?
Thanks for your help.