I think that when I run a sketch and use for example the process library, the linux stuff will happen using the root account.
I have made another user on the Yun linux. How can I run a sketch with this user instead of the linux root?
I think that when I run a sketch and use for example the process library, the linux stuff will happen using the root account.
I have made another user on the Yun linux. How can I run a sketch with this user instead of the linux root?
The only way I see right now is a tricky one: you'll need to send a "su - MYUSER" to Serial1 (talking directly to the linux prompt) and only then run the Bridge and everything. I've never tried that.
Best would be to make the Python side of the Bridge aware of your need with some Bridge.setUser.
Do you mind opening an issue on github mentioning this thread?
Standard linino doesnt have a su command I thought?
I created a new issue on github.