Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jul 2025 01:51:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238126] crontab(1) needs to explain what site-dependent parameters are meant in it
Message-ID:  <bug-238126-227-vyDqgEHnAt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238126-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238126

Pau Amma <pauamma@gundo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pauamma@gundo.com

--- Comment #3 from Pau Amma <pauamma@gundo.com> ---
(In reply to Yuri Victorovich from comment #0)

That's probably referring to /usr/src/usr.sbin/cron/cron/config.h

                        /* if ALLOW_FILE and DENY_FILE are not defined or are
                         * defined but neither exists, should crontab(1) be
                         * usable only by root?
                         */
/* #define ALLOW_ONLY_ROOT */                   /*-*/

which by default (and in the absence of /var/cron/allow and /var/cron/deny)
appears to allow all users.

As for the pathnames for allow and deny, these are listed in the FILES section
of crontab(1). (And perusing the source code shows you need to list one
username per line, with no leading or trailing spaces. But IMO you're right
that this should be documented in the manual page.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238126-227-vyDqgEHnAt>