On Thu, Mar 20, 2014 at 12:09 PM,  <jason.f...@gmail.com> wrote:
> I just recently got my BBB, and although the board is new to me I do have
> some experience with linux.
>
> The first thing I did when I received the board was to flash it with the
> official Debian image. The next thing I did was create a new user with sudo
> access and logged in under that account (just a best-practices thing I
> always do).
>
> It seems that I am unable to access the GPIO pins while using a non-root
> account. Even prepending the command with sudo doesn't work. However if I
> log in as root then everything does work as expected.
>
> Is there a way to run these scripts from my user account or will I have to
> log in as root each time?

sudo sh -c "echo 'something' >> /etc/privilegedfile"

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to