cpanel / elevate

elevate your cPanel&WHM CentOS 7 server to Almalinux 8
https://cpanel.github.io/elevate/
BSD 2-Clause "Simplified" License
45 stars 29 forks source link

Ensure all system calls are executable absolute paths #413

Closed cPholloway closed 4 months ago

cPholloway commented 4 months ago

Case RE-260: C::S::O has a bug in 110 where it does not detect missing scripts (see CPANEL-40343). The change in CPANEL-40343 was deemed medium/high risk, and was rejected as a backport candidate for 110. As such, we need to work around this issue. Since elevate-cpanel can only be executed as root, it was determined that all commands that it executes should be executabl absolute paths. This change enforces that.

Changelog: Ensure all system calls are executable absolute paths

By submitting pull requests to this repo, I agree to the Contributor License Agreement which can be found at: https://github.com/cpanel/elevate/blob/main/docs/cPanel-CLA.pdf