LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2017, 07:54 AM   #16
Thomas Baeckeroot
LQ Newbie
 
Registered: Aug 2017
Location: Lausanne
Posts: 2

Rep: Reputation: Disabled
A solution: bash script that logs-off user once his daily time is over (4 lines to install)


Hi all,

I just made an answer available easily. Code is explained on thread http://forums.linuxmint.com/viewtopic.php?f=213&t=77687 . In short: a limit configured in minutes per day, a cron job every minute, a message to user to keep him informed and a forced logoff.

To download and install this, open a Terminal and run the commands below:
Code:
cd /tmp/
git clone https://github.com/Thomas-Baeckeroot/ParentalControl.git
cd ParentalControl/
./install.sh
Administrator password will be requested during the installation process (to install the cron job, to copy the script, …). From there you will be guided for the configuration (number of minutes for each user). There is also an ./uninstall.sh at the same place just in case. It is build to work with all Ubuntu based distro (Mint, etc… probably all debian also). If any issue occurs please let me know, including system version and graphical environment in comments:
Code:
uname -a
echo $XDG_CURRENT_DESKTOP
PS: At the time I started this script (~2012), "kidtimer" solution from grover66 and Jim Dunphy did not exist yet so I haven't checked their solution, it looks to do the same: https://github.com/JimDunphy/kidtimer .


Thomas Baeckeroot
 
1 members found this post helpful.
Old 04-20-2019, 06:51 AM   #17
Marcus67
LQ Newbie
 
Registered: Jan 2008
Location: Cologne
Distribution: Debian
Posts: 4

Rep: Reputation: 1
New Parental Control Application for Debian Linux

I've just released a beta version of my new application LittleBrother that is able to monitor play time on Linux machines. Test users are welcome to try the Debian package. Instructions on how to download and use it can be found here: https://github.com/marcus67/little_brother. The installation may still be a little rough, though. These are the features of the application:
  • Any number of users can be monitored.
  • Each user can have a specific set of rules defining the permitted playtime.
  • Rules can be adapted to "contexts", such as the day of the week and/or a vacation schedule (currently only the German schedules are supported).
  • Play time can be restricted to a time window (from, to).
  • A maximum play time per day can be defined.
  • Users can be forced to take a break after a certain maximum session time.
  • Users can be forced to wait for a miniumum break time after their activity.
  • Any number of Linux client hosts can be monitored (currently this requires users to have the same login on all machines).
  • There is a master host with a history of the activities of all users. This master host checks the rule sets and prompts the client hosts to terminate processes if required.
  • The master host offers a simple web interface for viewing the user activity over a configured history length (e.g. 7 days) and an administration page to dynamically define rule exceptions for a configured number of days into the future.
  • The web application can be run behind a proxy so that it will be accessible from away allowing remote administration after receiving calls from young users begging for more play time.
  • The application has international language support. Currently English and German translations are provided. Users are invited to provide translations for other languages.
  • The application uses voice generation to inform the user over impending forced logouts. Also these spoken messages are internationalized.
  • In addition to the time spent on Linux hosts the application can also monitor activity time on other devices such as smart phones or tables. It takes advantage of the fact that most modern operating systems put devices in some kind of power saving mode while they are not being used. This way, the network response (by pinging) can be used to determine the activity on those devices. In contrast to the Linux hosts, the application will not be able the terminate the activity. The play time, however, will be added to the overall playtime and hence will have an impact on the time allowed and also on the break time rules on the Linux hosts.
 
1 members found this post helpful.
Old 04-21-2019, 04:51 AM   #18
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,461
Blog Entries: 8

Rep: Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990
sounds ambitious.
I hope it works well!
is it distro-independent?
can you explain in a few simple words how it works under the hood?
and at what age will kids be able to circumvent it?
 
Old 04-22-2019, 03:32 PM   #19
Marcus67
LQ Newbie
 
Registered: Jan 2008
Location: Cologne
Distribution: Debian
Posts: 4

Rep: Reputation: 1
Description of architecture will follow

Quote:
Originally Posted by ondoho View Post
sounds ambitious.
I hope it works well!
is it distro-independent?
can you explain in a few simple words how it works under the hood?
and at what age will kids be able to circumvent it?
Currently, the application is available as a Debian package only. However, the effort to make it available to other distributions should be small.

Your commend reminds me of the fact, that I wanted to write a short technical description of the "architecture" if that word is applicable for such a small application. I will do this as one of my next chores. This is the architecture in a nutshell: https://github.com/marcus67/little_b...RCHITECTURE.md.

The children would require a sufficient knowledge of Linux processes and most likely root access or the admin password must have been compromised.

Last edited by Marcus67; 04-23-2019 at 05:03 PM.
 
Old 04-23-2019, 06:56 AM   #20
bgstack15
Member
 
Registered: Jul 2017
Distribution: korora
Posts: 46

Rep: Reputation: Disabled
This sounds fascinating. Thank you for sharing this! Do you expect that a person could modify this to have a popup, instead of an audible message?
 
Old 04-23-2019, 04:58 PM   #21
Marcus67
LQ Newbie
 
Registered: Jan 2008
Location: Cologne
Distribution: Debian
Posts: 4

Rep: Reputation: 1
Wink Popup is already on the issue list

Quote:
Originally Posted by bgstack15 View Post
This sounds fascinating. Thank you for sharing this! Do you expect that a person could modify this to have a popup, instead of an audible message?
Actually, I just transferred some issues to GitHub and voila: https://github.com/marcus67/little_brother/issues/6 :-)
 
Old 04-26-2019, 11:30 AM   #22
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,461
Blog Entries: 8

Rep: Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990Reputation: 2990
Quote:
Originally Posted by Marcus67 View Post
I wanted to write a short technical description of the "architecture" if that word is applicable for such a small application. I will do this as one of my next chores. This is the architecture in a nutshell: https://github.com/marcus67/little_b...RCHITECTURE.md.
ok, thanks!
i think this:
Quote:
applies configured rules
would need to be expanded: what rules, and how are they "applied".

I hope you get more contributors!
 
  


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
Best Linux systems arrangement for kids computer lab azuldemogogu Linux - Networking 6 03-14-2010 10:21 AM
Kids Computer Timer erics_acvw Linux - Desktop 7 07-02-2009 09:31 AM
LXer: Tracking the time kids spend online LXer Syndicated Linux News 0 10-07-2008 02:40 PM
Looking for a distro with kids games that would run on older computer Silly Burrito Linux - Newbie 2 10-13-2005 11:15 PM
Best distro for a 450mhz, P3, 32 mb ram computer? For kids? stalefries Linux - Distributions 11 07-08-2005 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:21 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration