[PD] Best way to shut the system down with a script launched from Pd?

Alexandros Drymonitis adrcki at gmail.com
Wed Mar 29 20:11:02 CEST 2017

On Wed, Mar 29, 2017 at 7:35 PM, Alex <x37v.alex at gmail.com> wrote:

> Have you tried running the script directly on your odroid to see if it
> outputs anything relevant?
> You're calling sudo with no interaction. does sudo require a password on
> your odroid?
> If you've started pd and jackd with the same user that runs this script
> you shouldn't have to call sudo. There is also a way to allow the user to
> call 'poweroff' but I forget how you set that up.. it might be a group that
> you have to be in.
Running this command enabled me to run poweroff without sudo or a password:
sudo chmod a+s /sbin/poweroff
Now the script runs fine without using sudo at all, thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170329/fcace159/attachment.html>

More information about the Pd-list mailing list