Command restrictions
15 pts.
0
Q:
Command restrictions
A Linux question: Can you restrict a certain command to a specific time range. I don't want to be able to run command x between 7 and 8 ?

Any assistance would be appreciated.

Regards
ASKED: Jun 19 2008  2:16 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
26290 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
How about a cron job that renames the command or changes the attributes during the time period where usage is restricted?
Last Answered: Jun 19 2008  3:10 PM GMT by Labnuke99   26290 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Gilly400   23625 pts.  |   Jun 20 2008  2:03PM GMT

Hi,

That’s a smart idea from Labnuke99, maybe you could just CHMOD it to be inaccessible or unexecuteable during your time period.

Regards,

Martin Gilbert.

 

Renier   15 pts.  |   Jun 20 2008  2:17PM GMT

Hi There,

Thanks for the response.

Yip, thats what I did at the end of my unfruitful search on the web.

Thanks again guys.

Regards Renier

 
0