]> git.ipfire.org Git - thirdparty/asterisk.git/commit
safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files.
authorThatTotallyRealMyth <106909154+ThatTotallyRealMyth@users.noreply.github.com>
Tue, 10 Jun 2025 07:18:00 +0000 (17:18 +1000)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 17:40:37 +0000 (11:40 -0600)
commit7ba06dc6ee5efd4edfe79690ad8d61a33b92ce3d
treea3e8e509eced5e9af2c8122b6bc486aabc1dc8db
parent14e5ca9c6d48f0450fd93747ac381cfab22d72f4
safe_asterisk: Add ownership checks for /etc/asterisk/startup.d and its files.

UpgradeNote: The safe_asterisk script now checks that, if it was run by the
root user, the /etc/asterisk/startup.d directory and all the files it contains
are owned by root.  If the checks fail, safe_asterisk will exit with an error
and Asterisk will not be started.  Additionally, the default logging
destination is now stderr instead of tty "9" which probably won't exist
in modern systems.

Resolves: #GHSA-v9q8-9j8m-5xwp
contrib/scripts/safe_asterisk