2

Cross-compilation with remote launch from Eclipse is very useful approach to develop RaspberryPi applications. There is a serious security problem however. One who need access to GPIO (ex, using wiringPi) should have root priveleges. Consequently, he has to SSH to RaspberryPi as root user. This is because I can't find the way to tell Eclipse to login as ordinary user and use sudo. So root via SSH seems to be the only solution, am I right? Could you propose any workaround?

0

1 Answer 1

3

The folks at Qucik2Wire agree with your observation regarding security and the need to run any code that accesses the Pi's GPIO pins as root. To address this they have developed a project called gpio-admin which allows non root control of the GPIO pins.

2
  • Steve, can you provide alternate way to access gpin-admin project ?The link just gives some "domian info" and no gpio-admin access.
    – Jan Hus
    Commented Jul 23, 2017 at 13:53
  • @JanHus Link is fixed but this is no longer required. Commented Jul 23, 2017 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.