Why time slot mentioned in /etc/security/time.conf doesn't work
Hi....
I have made change in my /etc/security/time.conf file as :-
login ; tty* & !ttyp* ; !root ; !Al0000-2400
And also added following statement in /etc/pam.d/login as the first statement of my file:-
account required pam_time.so
Actually it should deny all users except for root to console-login at all times.
But its not showing the desired functionality. I am able to login as user into my system.
How can get the desired functionality ?? can anyone help me in that????
Thanks in advance.
Pihu
|