Page 1 of 1

How to run a command that needs admin/root privileges?

Posted: Sun Aug 02, 2015 5:10 pm
by tester
Hi All,

What is the better way to run a command that needs admin/root privileges?

Re: How to run a command that needs admin/root privileges?

Posted: Sun Aug 02, 2015 5:36 pm
by wilbert
sudo ?

Re: How to run a command that needs admin/root privileges?

Posted: Mon Aug 03, 2015 9:50 am
by tester
wilbert wrote:sudo ?
Unfortunately, this command does not work with PB RunProgram().

Re: How to run a command that needs admin/root privileges?

Posted: Mon Aug 03, 2015 9:51 am
by Fred
It should, if you are in the sudoer list without needing a password.