> > *Using sudo seems much less secure as it exposes the application to being > exploited for security flaws. And since the application is running as root, > it has access to everything.* >
So, we have a device on a system that can potentially cause physical damage to external hardware when something like a wrong GPIO state is toggled, or such. How would sudo be less secure in this context? In fact under certain conditions it would be less safe using groups. Also, "root has access to everything" is wrong. Reread what I've written above about running specific commands through sudo. On Fri, Feb 5, 2016 at 6:05 PM, Brian Anderson <[email protected]> wrote: > Err, why? > > Groups are frequently used to restrict access to resources. Android > exploits groups for permissions and to sandbox applications. And the > kernel enforces access. > > Using sudo seems much less secure as it exposes the application to being > exploited for security flaws. And since the application is running as root, > it has access to everything. > > But maybe I'm missing something? > > ba > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
