Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
privileges for certain programmes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
blommethomas
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 285
Location: roeselare, belgium

PostPosted: Tue Mar 28, 2006 7:47 pm    Post subject: privileges for certain programmes Reply with quote

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
View user's profile Send private message
simon_irl
Guru
Guru


Joined: 07 Oct 2004
Posts: 403
Location: New Zealand

PostPosted: Wed Mar 29, 2006 12:40 am    Post subject: Reply with 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).
Back to top
View user's profile Send private message
blommethomas
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 285
Location: roeselare, belgium

PostPosted: Fri Mar 31, 2006 9:22 am    Post subject: Reply with quote

doens't a program to do this already exist?
_________________
IK BEN GEK
Back to top
View user's profile Send private message
blommethomas
Apprentice
Apprentice


Joined: 16 Nov 2005
Posts: 285
Location: roeselare, belgium

PostPosted: Fri Apr 07, 2006 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum