boot up the system in "macOS Recovery HD" where SIP restrictions are not enforced (according to @user3439894 ) , and basically run in a terminal
sudo find '/Volumes/Macintosh HD/Applications/iTunes.app/app' -depth -print0 | sudo xargs -0 chmod a-x
and reboot into mac. it basically recursively remove the executable flag on every file in /Applications/iTunes.app , which should stop MacOS from ever starting iTunes (the normal way), which effectively makes iTunes disabled.
boot up the system in an Ubuntu CD/usb drive, and basically run in a terminal
sudo su
mkdir /mount
mount /dev/nvme0n1p1 /mount
find /mount/Applications/iTunes.app/ -depth -print0 | xargs -0 chmod a-x
and reboot into mac. it basically recursively remove the executable flag on every file in /Applications/iTunes.app , which should stop MacOS from ever starting iTunes (the normal way), which effectively makes iTunes disabled.
you have to change
/dev/nvme0n1p1
with wherever the root partition is, and if you don't know, you can launch gparted with the commandsudo gparted
which can help you find out by matching the size of your MacOS root partition with every partition in the system. but if you're using an NVMe disk, it's probably/dev/nvme0n1p1
this probably won't work if your MacOS partition is encrypted..