Commit Graph

7 Commits

Author SHA1 Message Date
Ilia Ross
c23b6b5b48 Fix Cron environment variable ACL checks
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
This patch completes the ACL added in [17ba87cbc](https://github.com/webmin/webmin/commit/17ba87cbc).

That change protected only the edit and save pages.

Users without environment-variable access could still change variables through delete, bulk actions, and moves.

This applies the permission everywhere and hides blocked controls.

It also applies create and delete permissions to variables and prevents job and variable endpoints from being mixed.
2026-10-11 15:31:06 +02:00
Ilia Ross
f30560d61b Fix to use quotemeta to prevent shell injection in Cron module 2026-02-10 22:09:07 +02:00
Jamie Cameron
66a792292a Run cron commands in the user's home dir https://github.com/webmin/webmin/issues/2355: 2025-01-12 09:25:26 -08:00
Jamie Cameron
36f1e4aef3 Use cron default path https://sourceforge.net/p/webadmin/bugs/5571/ 2022-07-18 09:29:15 -07:00
Jamie Cameron
f193f0b2b2 MacOS fix, revert to not using su due to shell issues 2009-05-30 21:02:05 +00:00
Jamie Cameron
35273dd9a6 Re-factor UID switching function 2009-05-30 20:44:13 +00:00
Jamie Cameron
fc1c1b243f Initial checkin of Webmin 2007-04-12 20:24:50 +00:00