PAM - time.conf - not able to login via ssh anymore
I am playing with my raspberry pi with raspian OS (wheezy). I have three local accounts: root, pi and gc.
I wanted to test PAM Module pam_time.so to restrict SSH access for user pi (time limits). The idea was to restrict pi to not allow ssh login avery day from 0913-0920 (for testing).
Now of course something went wrong and i am not able to login by ssh at all (not with user gc and not with user pi... root is blocked anyway by sshd_conf). The configuration in /etc/security/time.conf looks
What I can see is, that I made a mistake with the date: it should look like
So my question: How can I fix it? And would it be correct that way?
I do not understand why i am not able to login by ssh with user gc at all, as the rule is only for user pi??
The problem seems to be in /etc/pam.d/sshd
session required pam_conf.so
it should be
account requried pam_conf.so