#1  
Old 4th September 2008, 11:49
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 5th September 2008, 13:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

This can be any command.

Make sure that /sbin/shutdown can be executed only by root!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th September 2008, 02:40
bwragg bwragg is offline
Member
 
Join Date: Jul 2006
Posts: 58
Thanks: 7
Thanked 3 Times in 2 Posts
Default

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
Reply With Quote
  #4  
Old 8th September 2008, 11:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,009
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
Anything I can do against illegal login-requests? schmidtedv Installation/Configuration 17 7th November 2008 10:25
cron jobs per user arrn Feature Requests 19 13th June 2008 09:20
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 21:38
log files cruz Technical 3 15th May 2007 15:35


All times are GMT +2. The time now is 15:55.


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