user cron jobs

Discussion in 'Installation/Configuration' started by bwragg, Sep 4, 2008.

  1. bwragg

    bwragg New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    This can be any command.

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

    bwragg New Member

    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
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    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.
     

Share This Page