Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-18-2004, 12:27 AM   #1
Registered: May 2003
Location: N. California
Distribution: FC3 2.6.9
Posts: 110

Rep: Reputation: 15
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!
Old 01-18-2004, 02:06 AM   #2
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
Old 01-18-2004, 02:43 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting users? sdouble Linux - Newbie 5 07-05-2006 07:48 PM
Restricting su to certain users roadin SUSE / openSUSE 4 03-15-2005 01:17 PM
Restricting FTP Users mtellin Linux - Networking 1 02-28-2002 09:54 PM
Wu-FTP / Restricting users to one directory DJFauß Linux - Networking 0 12-22-2001 12:42 PM
restricting users to one folder flip-x Linux - Security 0 02-18-2001 06:37 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration