LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-18-2004, 12:27 AM   #1
FiveFlat
Member
 
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
adz
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
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
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
 
  


Reply


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/Novell 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


All times are GMT -5. The time now is 06:12 AM.

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