[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [suse-security] Allow ssh access only at certain times




> -----Original Message-----
> From: Tom Knight [mailto:thomas.knight@xxxxxxxxxx]
> Sent: 27 January 2004 14:49
> To: suse-security@xxxxxxxx
> 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.

-- 
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here