https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213742
Bug ID: 213742 Summary: /etc/crontab $PATH modification Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ben.rub...@gmail.com Hello, crontab(5) : Several environment variables are set up automatically by the cron(8) daemon. SHELL is set to /bin/sh, PATH is set to /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin, and LOGNAME and HOME are set from the /etc/passwd line of the crontab's owner. /etc/crontab : PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin I then think that /etc/crontab should set : PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin (I also think that /etc is no more needed in $PATH since this commit : https://github.com/freebsd/freebsd/commit/77f8fc2dc8a4b898c69e145ecb5c0e72aab05968) It would be more coherent, and also more convenient, without being more risky. Thank you very much ! Ben -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"