[omd-users] Errors with Install from repo on Scientific Linux 6.4
tfines at digitalriver.com
Wed Jul 17 17:19:11 CEST 2013
You are correct. Ignore my point #2. Per our default security policies, /etc/cron.allow is created. If it does not exist, which by default it does not, all users may use crontab. I had forgotten that we make that setting. Thanks!
From: omd-users-bounces at lists.mathias-kettner.de [mailto:omd-users-bounces at lists.mathias-kettner.de] On Behalf Of Stephen Berg (Contractor)
Sent: Wednesday, July 17, 2013 9:57 AM
To: omd-users at lists.mathias-kettner.de
Subject: Re: [omd-users] Errors with Install from repo on Scientific Linux 6.4
On 07/17/2013 09:49 AM, Ted Fines wrote:
> "omd start <Site>" will return a crontab-related error, e.g. "Initializing Crontab...You (TestSite) are not allowed to use this program (/usr/bin/crontab)"
> Problem: The OS doesn't allow any users other than root to use crontab. I don't know when this was changed, but that's how it is now.
> Fix: As root, edit /etc/cron.allow and add the user/site name. One per line. Fortunately omd generates the crontab for a site on every start, so just do "omd stop <site>" and "omd start <site>" and it will generate the crontab and start correctly.
> I think the OMD devs will need to update the omd "create" script to add the site user to /etc/cron.allow.
I have omd running on multiple SL6.4 systems here and have not seen this issue on any of them. None of these systems have a cron.allow file anywhere in /etc. Could that be something that was configured on your system locally? I could be wrong, but I don't think it's set up from a default install of SL.
NRL Code: 7320
stephen.berg.ctr at nrlssc.navy.mil
omd-users mailing list
omd-users at lists.mathias-kettner.de
More information about the omd-users