On Tue, 28 Nov 2017, Fred Gleason wrote:
Because it’s ripcd(8) that actually executes the ‘RN’ RML, not a GUI component.
My test was to run the Perl script from a shell script executed by the 'RN' RML (Perl scripts don't seem to run directly from 'RN'). The Perl script determines its UID and GID, then invokes rmlsend with a 'LB' to display the UID and GID in rdairplay. That's how I know that the Perl script is running as the same user and group via Rivendell as it does from the command line.
Some parts, yes! The code is actually rather paranoid about making sure that any ‘RN’ command is run as that user/group so as to avoid privilege escalation vulnerabilities. It’s also worth nothing that, in order for that process to work, ripcd(8) must be started with root permissions.
According to 'ps aux | grep ripcd', it is running as root. Rob -- Я там, где ребята толковые, Я там, где плакаты "Вперёд", Где песни рабочие новые Страна трудовая поёт.
_______________________________________________ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev