crontab_setgid: you're not in /etc/cron.allow #1451
|
Hello, I am trying to install Naemon, which includes Thruk. Unfortunately, the installation of Thruk keeps failing. Please see error log. Thruk have been configured for xxxxxx.
The default user is 'thrukadmin' with password 'thrukadmin'. You can usually change that by 'htpasswd /etc/thruk/htpasswd thrukadmin'
[ERROR] cron_post_edit_cmd (/usr/bin/crontab /var/cache/thruk/thruk_cron.tmp && rm -f /var/cache/thruk/thruk_cron.tmp 2>>/var/lib/thruk/cron.log) exited with value 1: crontab_setgid: you're not in /etc/cron.allow |
Answered by
DevSysEngineer
Jul 16, 2025
Replies: 3 comments 2 replies
|
Thruk wants to create crontab entries. If you have some hardened linux, you need to make sure the thruk user (ex. apache) is allowed to do so. |
0 replies
|
Moved it to discussions. I don't think this is a thruk issue. |
0 replies
|
Thanks @sni for your help. I've already run the following command, but the installation still fails. echo 'thruk' | sudo tee -a /etc/cron.allow
chmod 640 /etc/cron.allow |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed issue by adding
www-datato /etc/cron.allow