LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   restricting logon hours to users? (https://www.linuxquestions.org/questions/linux-networking-3/restricting-logon-hours-to-users-135908/)

FiveFlat 01-17-2004 11:27 PM

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!

adz 01-18-2004 01:06 AM

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.

Tinkster 01-18-2004 01:43 PM

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.