Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to limit access time for a user so it can't login between friday 19:00 to Monday 05:00
I tried to use the file /etc/security/time.conf but I don' know exactly how to configure it;
I tied this:
His dosn't work exactly
so I tried this
And I thik it dosn't work so
Kan you explain to me if we must use | (or) or & (and)
thanks for this link it's very good
but I don't know where is the problem :
if I write this
it works correctly (the user can't access on monday between 0000 and 0500 and have no access on friday between 1900 and 2400)
but if I add an other condition :
it dosn't work