View previous topic :: View next topic |
Author |
Message |
blommethomas Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/828317186461357bb11b42.jpg)
Joined: 16 Nov 2005 Posts: 285 Location: roeselare, belgium
|
Posted: Tue Mar 28, 2006 7:47 pm Post subject: privileges for certain programmes |
|
|
I would like to give some of my users not the ability to open certain applications(for example a browser) or a connection(interent) before a certain hour.
Anyone who knows a script or application that can do that?
thanks, _________________ IK BEN GEK |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
simon_irl Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 Oct 2004 Posts: 403 Location: New Zealand
|
Posted: Wed Mar 29, 2006 12:40 am Post subject: |
|
|
you could set up a cron job to chmod the files in question (e.g. set ownership of the browser to root and have your cron job set executable permissions for all users at your "certain hour", and then have another job set executable permissions only for root when the time has expired). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blommethomas Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/828317186461357bb11b42.jpg)
Joined: 16 Nov 2005 Posts: 285 Location: roeselare, belgium
|
Posted: Fri Mar 31, 2006 9:22 am Post subject: |
|
|
doens't a program to do this already exist? _________________ IK BEN GEK |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blommethomas Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/828317186461357bb11b42.jpg)
Joined: 16 Nov 2005 Posts: 285 Location: roeselare, belgium
|
Posted: Fri Apr 07, 2006 6:08 am Post subject: |
|
|
Quote: | you could set up a cron job to chmod the files in question (e.g. set ownership of the browser to root and have your cron job set executable permissions for all users at your "certain hour", and then have another job set executable permissions only for root when the time has expired). |
Couldn't you give me real code? If I wan't mozilla ony to be accesable between 19 and 22 o'clock, what do I have to program? _________________ IK BEN GEK |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|