restricting logon hours to users?
I am using Redhat 8.0 and I am looking for a way to be able to restrict the hours a user on my LAN can logon.
Specifically, I want to limit my son's access to the internet. e.g. between 8am to 9pm Currently my Linux server is the only machine with a modem. It dials the internet and with IP Masq. all my other PCs go out to the internet. I am assuming I will have to make my linux box a DNS? But how will I specify the hours? Thanks in advance! |
You could make another iptables configuration that will give access to those computers you wish and then get cron to run it at the appropriate time.
|
What adz said :}
I'm adding 4 rule to block the kids MAC addresses at given times ... actually, they're blocked by default, cleared at a given time, and blocked again after their time is up. Cheers, Tink |
All times are GMT -5. The time now is 06:05 PM. |