LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-11-2009, 01:55 AM   #1
LOH Mephisto
LQ Newbie
 
Registered: Feb 2009
Distribution: Fedora, ubuntu, centeos
Posts: 4

Rep: Reputation: 0
Wink parental control on server side


I'm setting up a linux server (DHCP/GW) and i want to secure my kids pc from bad content of the internet.

can i install on my server a program to block acces on the internet. from time until time.

is there even a way to block a pc (windows) to boot unless te linux server say's ok you may boot...

Best regards LOH
 
Old 02-11-2009, 02:15 AM   #2
hallamigo
Member
 
Registered: Feb 2004
Location: Utah, USA
Distribution: Debian
Posts: 230

Rep: Reputation: 31
Quote:
Originally Posted by LOH Mephisto View Post
can i install on my server a program to block acces on the internet. from time until time.
You may be able to handle this with a cron under root. Something that turns off the DHCP at one time then turns it back on another.

Quote:
Originally Posted by LOH Mephisto View Post
is there even a way to block a pc (windows) to boot unless te linux server say's ok you may boot...
If you figure this one out, let me know ... not sure you could tie something into the bios of the client machine to check against a server.
 
Old 02-11-2009, 07:13 AM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
For the 2nd qn you could try a BIOS passwd. This is assuming they don't know how to bypass it.
 
Old 02-11-2009, 08:06 AM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
You could simply purchase a router that will accept the dd-wrt firmware. that router firmware will allow you to specify Access Restrictions for PC's.. I have the Linksys WRT54GL and this firmware works great. you could also easily enable disable access for a machine with the web interface of the router.


Restrict Logon times in Linux using PAM
Restrict Login times using Active Directory

I don't think either of those willl help in your situation. You could connfigure a Samba Domain controller and apply user account policies, but I don't believe XP home or Vista Home Basic can join a domain so that might not help either. http://www.samba.org/samba/docs/man/...TO-Collection/
Quote:
Managing User account policies
In addition to user access controls that may be imposed or applied via system and/or group policies in a manner that works in conjunction with user profiles, the user management environment under MS Windows NT4/200x/XP allows per-domain as well as per-user account restrictions to be applied. Common restrictions that are frequently used include:

* Logon hours
* Password aging
* Permitted logon from certain machines only
* Account type (local or global)
* User rights

Best of luck, please let us know how you solve this issue.

Last edited by farslayer; 02-11-2009 at 08:08 AM.
 
Old 02-17-2009, 02:17 PM   #5
LOH Mephisto
LQ Newbie
 
Registered: Feb 2009
Distribution: Fedora, ubuntu, centeos
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks For the help

I'm thinking of using slackware dus anyone have experiens with slackware. for DHCP/GW.

Frank
 
Old 02-18-2009, 05:27 PM   #6
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
You could turn off DHCP by default or controlled by a cron job, so that the contents of /etc/hosts take control over name resolving. This means that only hostnames included in that file will be resolved.

Or you can keep DHCP running, but set it so that the /etc/hosts file read first (actually a common default anyway) and you can make the prohibited sites point to localhost, so that those sites will never be displayed, but your local webserver is called with it's default index page.

All this will not help, if the kids know the IP number of the site, because then they will bypass all name resolving instances completely. You could still play around with IP masquerading to modify harmful incoming TCP-packets by redirecting them to some non-existent IP on your local network, but that's quite overkill and needs a lot of tweaking.

If your Windows PC's are configured to be launched via network from a central server (mostly a business solution) then you have some control over booting. But I think that creating accounts with limited permissions (unable to install applications) should be enough for kids.

I actually think that it might be better to talk straight with the kids and give them some trust. Check the browser history to see where they are surfing and talk with if you see something offending. Otherwise this whole thing becomes a prison measure.

Debian

Last edited by servat78; 02-19-2009 at 11:31 AM.
 
Old 02-18-2009, 05:32 PM   #7
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
Why don't you look at using squid as a proxy for the PCs to access the internet, and then you can either use access policies in squid, or set up dansguardian to filter sites.

There's probably a simpler proxy than squid you can use as well.
 
  


Reply

Tags
control, parental


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Centralized parental control bercy46 Linux - Newbie 4 08-29-2008 04:50 PM
Control amount of time a user may be logged in. (Parental Control) darrensnospam Mandriva 13 02-18-2006 05:01 PM
How can i get parental control with no fee ? metalinx Linux - Security 15 09-19-2005 04:20 AM
Parental control thomasfingram Linux - Software 1 08-16-2005 11:26 AM
Parental Control Software walrus121 Linux - Software 12 05-23-2004 03:01 PM


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