Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9872 Discussions

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

SMoy1
New Contributor I
1,079 Views

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
165 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
165 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
165 Views

Hi Steven,

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

Regards,

Pablo

Reply