Cannot update crontab PATH variable via PAM
Bug #692587 reported by
Peter Matulis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cron (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cron
In Lucid I cannot update the PATH variable via PAM using:
~/.pam_environment
/etc/security/
Seems that cron supports the pam_env module but leaves out the capacity to alter PATH. Can we please pull in this feature? Also, only the Maverick crontab man page refers to this stuff:
http://
http://
To post a comment you must log in.
ad PATH: This is by design, therefore it won't change. For example, by pulling in PATH from pam_env, the ability to specify different paths for different crontabs would be lost.
I'm speaking as one of the Debian maintainers here - Ubuntu is of course free to add a patch on top of our version. I'd advise against it, not only for the reason above, but also because most (could be all, haven't checked recently) versions of cron I'm aware of do it this way.
ad crontab(5): the manpage you linked to comes from bcron, not vixie-cron. However, using the manpage search thingy, I couldn't find the correct one either...