27 Jan
2004
27 Jan
'04
15:00
-----Original Message----- From: Tom Knight [mailto:thomas.knight@ahds.ac.uk] Sent: 27 January 2004 14:49 To: suse-security@suse.com Subject: RE: [suse-security] Allow ssh access only at certain times
In /etc/security/time.conf, add: sshd;*;user;Wd0900-1700
All well and good, BUT... I can't log in! (And yes, it _is_ a weekday between 9am and 5pm....)
and that might be your error: I think Wd is WeekenD, Wk is WeeKday
DOH!
I've now changed it to plain 0900-1700, and I'm still having no fun.
...and that's because I'm thick. I should have used !1700-0900 to say "not between 5pm amd 9am the next day" Thanks for your help, Tom.