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

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



/ 2004-01-27 12:53:29 -0000
\ Tom Knight:
> Hi,
> 
> I allow ssh access to a number of accounts on one of
> my servers from a list of IP addresses, but I don't
> really want people to be using this service outside
> normal working hours..
> 
> I'm restricting access to these accounts thus:
> 
> In /etc/pam.d/sshd, add:
>   account    required    pam_time.so
> 
> 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

;)
	Lars Ellenberg


-- 
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