PDA

View Full Version : cron prefix/restrictions


mavik
10-14-2010, 11:06 PM
Hi, will be possible to add some prefix or some another restriction to user cron commands, that they will only be allowed to insert URL there or only run commands like /usr/bin/wget -O http://www.somedomain.com/cron.php ?

slava
10-15-2010, 07:37 AM
No, this is not possible

mavik
05-16-2011, 02:32 PM
Is it also impossible to add command path restriction that users will only be able to run as a cron job command from specified path like for example "/usr/local/ispmgr/bin"? I donīt want to allow users to run all system commands ...

slava
05-16-2011, 06:28 PM
Used the system crontab which does not have these limits and restrictions