04-03-2018 05:37 AM
Hi,
Is there a way of allowing LabVIEW to start/stop a process that needs root privileges? Attached is a snippet of the test code where I'm trying to command;
/etc/init.d/ntpd stop #Stop NTP Daemon
I've tried using su command but receive error: su: must be run from a terminal.
Hardware: sbRIO-9651
Software: LV2015 SP1
Solved! Go to Solution.
04-03-2018 10:03 AM
Hi Oliver_15,
A reasonable approach is to install and configure sudo to allow you, as the lvuser user, to run the script (see: https://forums.ni.com/t5/NI-Linux-Real-Time-Discussions/Is-it-possible-to-close-and-re-open-RTEXE-th...)
04-11-2018 10:14 AM
Thanks. Just what I needed.