Ask Your Question

Revision history [back]

I'll chime in as well, that it is really bad to run this as root. It is perfectly possible to start the rosrun process under a different user from within an init script, in fact this is how this should be done.

There are some general linux instructions how to do this in this SO question.

running rosrun or even worse roslaunch with root permissions would be a huge security vulnerability.