Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default Cpanel cron user fail

    Hi

    From few day's I have the very peculiar problem:
    When I set up the cron job, for user in his cpanel, I got the following error in cron log:

    Code:
    (...)  (halinex) AUTH (crontab command not allowed)
    And nothing has been seen in the user CronTab window, any messages.
    Every think looks OK, but it isn't. There is no initiation in the crontab window.
    What can it be

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Check to see if you have a file called /etc/cron.deny
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    All files: hosts.allow and hosts.deny are blank.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Not hosts.deny - see if you have a cron.deny or cron.allow file.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    No I dont. But I've much more servers witch the same configuration, and on those machines, cron works fine (and there is no cron.allow or cron.deny files).
    So I suppose that could be sth elese.

    # ADD:

    What is interesting:
    The message repat 3 times, when I tried to add the job:

    Jul 24 14:28:05 s76 /usr/bin/crontab[13251]: (halinex) AUTH (crontab command not allowed)
    Jul 24 14:28:08 s76 /usr/bin/crontab[13318]: (halinex) AUTH (crontab command not allowed)
    Jul 24 14:28:09 s76 /usr/bin/crontab[13324]: (halinex) AUTH (crontab command not allowed)


    And the system (shell) cron works fine;
    Last edited by Grzeslaw; 07-24-2006 at 08:35 AM.

  6. #6
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    Hi

    At last the problem has been solved. There was 2 thinks, that block accesing user to cron implementing :

    1) Wrong registry in cron and .acces files
    2) No suid on crontab script.


    Greetings

  7. #7
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    I have another problem, with the cron app, and the solve was also SUID-bit on the crontab executable file.
    Is it any byway , not-to use the suid bits.? AFAIK It's a big security hole [;

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Looks like crontab should have the suid bit set anyway:

    Code:
    -rwsr-xr-x    1 root     root        64662 Apr 19 22:21 /usr/bin/crontab*
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    Member
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    76

    Default

    okey, thnx.

Similar Threads & Tags
Similar threads

  1. account transfer bug ftp user logins fail
    By wolfy in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-25-2008, 04:55 PM
  2. ":fail: no such address here" versus ":fail: No Such User Here"
    By orty in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-02-2006, 11:49 PM
  3. Cannot see cron user in the cpanel
    By Sopos in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-25-2004, 10:40 AM
  4. cPanel cron jobs or cron.daily , cron.hourly , etc.?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 01-01-2004, 08:16 PM
  5. Xinetd services fail fail fail!
    By ozzi4648 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-06-2003, 06:34 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube