Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SMoy1
New Contributor I
984 Views

How to run flashall.sh in linux without root or sudo?

Hello,

I am trying to setup a intel edison flashing station in a production line. I notice linux using flashall.sh expects one to use "sudo" or root. Is it possible to run flashall.sh without root? I like to lock down the flashing station.

My guess is that the root or sudo requirement comes from dfu-util. I came across some udev discussion but not able to come up with a solution to not have root when one uses flashall.sh.

Any help appreciated.

Thanks,

Steven

3 Replies
Pablo_M_Intel
Employee
70 Views

Hi Steven Moy,

I'm not sure if this is possible. I've been doing some research and found the following suggestion:

Sudo chown your_username directory (where "your_username" should be your username and directory the folder that you'll be using)

The other methods that I found involve using root, so I guess that's not an option.

Regards,

Pablo

VIvan7
New Contributor III
70 Views

Have you tried to add the user to the dialout group and relogin? I haven't tried it myself.

sudo usermod -a -G dialout $USER

Pablo_M_Intel
Employee
70 Views

Hi Steven,

Were you able to try our suggestions? Did you have any positive results?

Regards,

Pablo

Reply