LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-17-2004, 11:27 PM   #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, 01: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, 01:43 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
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 06:48 PM
Restricting su to certain users roadin Suse/Novell 4 03-15-2005 12:17 PM
Restricting FTP Users mtellin Linux - Networking 1 02-28-2002 08:54 PM
Wu-FTP / Restricting users to one directory DJFauß Linux - Networking 0 12-22-2001 11:42 AM
restricting users to one folder flip-x Linux - Security 0 02-18-2001 05:37 PM


All times are GMT -5. The time now is 10:20 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