[fpc-pascal] Access GPIO pins on RPi2 without root?
leledumbo_cool at yahoo.co.id
Wed Oct 7 09:30:38 CEST 2015
>How can one control the GPIO outputs on a Raspberry Pi2 without needing the
program to run as root?
sudo chown root <program name>
sudo chmod 4755 <program name>
The 4 is setuid bit, which will allow normal users to run the program but
the program itself has root privilege.
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Access-GPIO-pins-on-RPi2-without-root-tp5722809p5722810.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal