Clients using IoTC Agent SDK require the iotc group
privilege or the root
user privilege.
To run a client program with a non-root user privilege, you must include the
iotc group
in the supplemental groups and run the client program with the
iotc group
permission:
sudo usermod -a -G iotc $USER sudo runuser $USER -G iotc -m -c "LD_LIBRARY_PATH=/opt/vmware/iotc-agent/lib ./MyClient"