Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think support for per-user crontab's is implementation dependent. There are implementations (AFAIK) that do not support per-user crontabs.

Per Gentoo's wiki, both fcron and cronie have their own (different!) ways of whitelisting non-root users to run cronjobs.



Everything is implementation dependent. There's no ISO cron standard or anything.

> Per Gentoo's wiki, both fcron and cronie have their own (different!) ways of whitelisting non-root users to run cronjobs.

Both allow any user in the cron group to have their own crontabs by default, and both support optional .allow/.deny files


> There's no ISO cron standard or anything.

It's part of the Single Unix Specification.

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/c...


That's a light spec for a subset of the interface and behavior of the crontab command line frontend, not a standard for cron in general. It's not really relevant to a discussion about how distros set up their cron defaults for per-user access.

Thanks for sharing it though. I wasn't aware it was in the posix spec and it explains why pretty much every implementation supports .allow/.deny files even when most already implement better access control mechanisms.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: