Il giorno giovedì 23 maggio 2019 07:37:58 UTC+2, Robert Heller ha scritto:
>
> At Thu, 23 May 2019 00:58:44 -0400 [email protected] <javascript:> 
> wrote: 
>
> > 
> > On Wed, 22 May 2019 14:11:39 -0700 (PDT), "Mark A. Yoder" 
> > <[email protected] <javascript:>> declaimed the 
> > following: 
> > 
> > >If you run 
> > > 
> > >*sudo visudo* 
> > > 
> > >The add the following to the end. 
> > > 
> > >debian ALL=(ALL) NOPASSWD: /path/to/command/to/start.sh 
> > > 
> > > 
> > >you can use *sudo* without giving a password.  I think then your 
> ExecStart 
> > >can be 
> > > 
> > >ExecStart=sudo /usr/bin/scriptname.s 
> > > 
> > 
> >         Why does all this seem to be a potential security leak? <G> 
> > 
> >         What is wrong with adding an entry in root's crontab using the 
> @reboot 
> > specification for when to run the job? 
> > 
> >         A Raspberry-Pi example, but should carry over to Beaglebone just 
> as 
> > well. 
> > 
> https://www.raspberrypi-spy.co.uk/2013/07/running-a-python-script-at-boot-using-cron/
>  
>
> It also begs the question: why is root access needed, *exactly*.  If you 
> are 
> using GPIO, you just need to be in the GPIO group. 
>
>
> -- 
> Robert Heller             -- 978-544-6933 
> Deepwoods Software        -- Custom Software Services 
> http://www.deepsoft.com/  -- Linux Administration Services 
> [email protected] <javascript:>       -- Webhosting Services 
>     


Thanks to all of the answers. 
Yes I have to work on the GPIOs, but I'm a newbie on linux and beaglebone, 
could you explain me how to do join GPIO group?
Thank you.
 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a44a2759-647a-45a8-b778-f104afac7a78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to