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

31 views
Skip to first unread message

Michael Megliola

unread,
Dec 12, 2017, 2:54:27 PM12/12/17
to BeagleBoard
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?

(thanks)

-- Michael

Robert Nelson

unread,
Dec 12, 2017, 2:59:20 PM12/12/17
to Beagle Board, michael....@gmail.com
Hi Michael,
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,

--
Robert Nelson
https://rcn-ee.com/

Michael Megliola

unread,
Dec 12, 2017, 5:00:10 PM12/12/17
to BeagleBoard
works! And I would never have found that on my own. Thanks.

Reply all
Reply to author
Forward
0 new messages