A SSH server I admin is to be allowed login from a group of users all days of week except sunday.
How would be your elegant solution to this? Thanks any input on comments or creative +and+ secure answers.
It should also kick out logged users. And take care of any means of login, such as passwords or ssh-keys.
(Edited as suggested)