Cloud9 + robotics + rcpy... can I run as root?

I installed the latest Debian build (including Cloud9) on a BeagleBone Blue, then I downloaded the Strawson Robotics Cape software and the rcpy Python library. That all works fine, except for one problem: the robotics cape software requires to be run from the root user, while Cloud9 is configured to run from debian.

In order to run a Python script, I currently need to use a Cloud9 terminal window and switch to root. The regular Cloud9 run facilities fail, with a message says that root access is required.

Is there a way to either (a) set up Cloud9 run configurations to run as root, (b) configure the Cloud9 service to run from the root account, or © something else, that would allow me to run directly, using the run button?

(thanks)

– Michael

Hi Michael,

I installed the latest Debian build (including Cloud9) on a BeagleBone Blue,
then I downloaded the Strawson Robotics Cape software and the rcpy Python
library. That all works fine, except for one problem: the robotics cape
software requires to be run from the root user, while Cloud9 is configured
to run from debian.

In order to run a Python script, I currently need to use a Cloud9 terminal
window and switch to root. The regular Cloud9 run facilities fail, with a
message says that root access is required.

Is there a way to either (a) set up Cloud9 run configurations to run as
root, (b) configure the Cloud9 service to run from the root account, or (c)
something else, that would allow me to run directly, using the run button?

This was a security change in cloud9, it can be undone via:

edititing:

/lib/systemd/system/cloud9.service

remove: (debian user)

"User=1000"

and reboot, it should load up as root..

Regards,

works! And I would never have found that on my own. Thanks.