itm / testbed-runtime

WISEBED Wireless Sensor Network Testbed Infrastructure Software
https://github.com/itm/testbed-runtime/wiki
15 stars 11 forks source link

Make debian-packages run under non-root user #299

Closed danbim closed 11 years ago

danbim commented 11 years ago

Currently, the Debian packages will install an init script that runs TR as the privileged root user. Better to create a user for the process and run the process with that user.

danbim commented 11 years ago

Accidental close... the gateway has problems connecting to the devices when run under that user. I've already added the user to the dialout group, enabling him to connect to serial ports but the process still can't connect...

danbim commented 11 years ago

Works now... the issue was caused by https://github.com/itm/wsn-device-drivers/issues/139