Article 51QX4 pam_time time limitation not working

pam_time time limitation not working

by
amteguia
from LinuxQuestions.org on (#51QX4)
Hi Everybody,

I am trying to restrick loggin for some hours , but my settings are not applied.

/etc/pam.d/sshd id as follows

account required pam_nologin.so
account include password-auth
account requisite pam_time.so
password include password-auth

/etc/security/time.conf is as follows

sshd;*;aauteguia;Su1400-2300

I also tried this but not working

*;*;aauteguia;Su1400-2300

Please can you help me solve this issue ?

Thankslatest?d=yIl2AUoC8zA latest?i=e3JBlkRVOso:g0NiAspoLys:F7zBnMy latest?i=e3JBlkRVOso:g0NiAspoLys:V_sGLiP latest?d=qj6IDK7rITs latest?i=e3JBlkRVOso:g0NiAspoLys:gIN9vFwe3JBlkRVOso
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments