[April 23] Q4OS ver 2.7-r5 - 1080P Pinebook / Pinebook |[Feb 26] Recalbox beta v3.1- Rock64 |[Feb 26] Recalbox 190222- RockPro64 / Minimal Debian by mrfixit2001 - 190222 - RockPro64 |[Feb 26] Q4OS 2.7-r2 - Pinebook 1080P / Pinebook |[Feb 22] Batocera Linux 5.20-20190121- RockPro64 | [Feb 19] Manjaro KDE 19.02 / Manjaro LXQT 19.02 - Pinebook1080P / Pinebook | [Feb 19] Slackware Aarch64 Miniroot and XFCE 20190201 - RockPro

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


gpio operate without sudo
#1
Board used rock64 OS Bionic minimal 0.7.11.Issue :Gpio script have been executing properly with sudo as per guidence in my project. But while using GPIO script, python modules has not been imported (Example numpy etc).this python module have been installed by pip command.Please help on this
Reply
#2
(04-10-2019, 07:28 PM)mohammed ismayil Wrote: Board used rock64 OS Bionic minimal 0.7.11.Issue :Gpio script have been executing properly with sudo as per guidence in my project. But while using GPIO script, python modules has not been imported (Example numpy etc).this python module have been installed by pip command.Please help on this
Reply
#3
(04-11-2019, 07:45 AM)mohammed ismayil Wrote:
(04-10-2019, 07:28 PM)mohammed ismayil Wrote: Board used rock64 OS Bionic minimal 0.7.11.Issue :Gpio script have been executing properly with sudo as per guidence in my project. But while using GPIO script, python modules has not been imported (Example numpy etc).this python module have been installed by pip command.Please help on this

Hi, you can make sudo without password  Wink

remove sudo password for user "username":

Code:
usermod -aG  sudo username
echo -e "# No sudo password for username user\nusername ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/90-username
exit
Credits
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  +LTS/SOPINE GPIO Python developer needed barucha 1 305 03-20-2018, 03:30 PM
Last Post: JohnyBlaze999
  Default GPIO PIN state after boot Artyom 13 4,033 11-12-2016, 06:38 AM
Last Post: Traveler

Forum Jump:


Users browsing this thread: 1 Guest(s)