[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (root) AUTH (crontab command not allowed)



On Fri, Apr 13, 2007 at 10:55:52AM +0200, Kay Smarczewski wrote:
> On Tue, Apr 10, 2007 at 09:30:38PM +0200, Kay Smarczewski wrote:
> > On Tue, Apr 10, 2007 at 05:08:52PM +0300, Andrei Popescu wrote:
> > > Kay Smarczewski <kay.smarczewski@mailbox.tu-dresden.de> wrote:
> > > 
> > > > > Me too, and it works fine. I do not edit /etc/crontab, but prefer
> > > > > adding files to the cron directories.
> > > > > (/etc/cron.d, /etc/cron.hourly ...)
> > > > Checksecurity also installed itself this way. But I wonder why all
> > > > cron jobs work fine but this does not.
> > > 
> > my crontabs are empty. i have removed the crontab for my user account
> > and the crontab for root with "crontab -r". so that is another problem:
> > i do not really know where to search for the "bad" command because the
> > error message is not very expressive. i seem it is the chkrootkit or the
> > checksecurity script. but i do not know.
> > 
> > how can i find out which file is the bad one?
> ok, it seems the problem is gone. but i do not know why. i changed the
> group of cron.allow to "crontab" and removed the root user from
> cron.allow. but i do not see a connection between the error message and
> the changes.

According to the manpage, root overrides the rights you put in both
/etc/cron.allow and /etc/cron.deny.

So, have you tried just to remove root from those files, and see what
happened ? 

-- 
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE

Attachment: signature.asc
Description: Digital signature


Reply to: