Hi,

On Sat, Oct 15, 2011 at 12:08:08AM -0400, David Prévot wrote:
...
> $ ls -la /usr/bin/crontab
> - -rwxr-sr-x 1 root crontab 34048 sept. 18 17:21 /usr/bin/crontab
> 
> That's the reason why it's setgid crontab actually, to prevent the user
> to edit directly /var/spool/cron/crontabs/<user>, and force him to use
> the “crontab -e” command, as explained in the FILES section of crontab(5).

In short, you guys are right.

I had a bad experience of creating crontab for my normal user at one time.
That is why I wrote this.  But cron seems to have moved from setuid-root
to setgid in 2001 and stabilized around 2003 as I see in the changelog.

This may have been due to my misconfiguration of crontab file permission
setting.  So this section needs update.

Osamu



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to