HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   user cron jobs (http://www.howtoforge.com/forums/showthread.php?t=26559)

bwragg 4th September 2008 10:49

user cron jobs
 
Hi,

The new user cron jobs are a great new feature but I was just wondering what is allowed to go in the "Command:" input box. Is this any command.
e.g php somefile.php
du -h
...

If so, what is preventing someone just entering /sbin/shutdown?

Thanks,

bwragg

falko 5th September 2008 12:06

This can be any command.

Make sure that /sbin/shutdown can be executed only by root!

bwragg 8th September 2008 01:40

Thanks falko. So any command can be run but its based on the user privileges.

So what privileges does ispconfig setup each user to have by default? How can I check this?

Thanks

till 8th September 2008 10:40

ISPConfig does not setup any user priveliges, the users are normal system users and the priveliges are setup by the linux distribution that you use.


All times are GMT +2. The time now is 04:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.