El 19 dic. 2016 11:11 AM, "Alberto Donato" <[email protected]>
escribió:

Hi,

I'm trying to create a snap for sshuttle, the ssh-based VPN app.
One of its components (the firewall manager) needs to either be run as
root, or use su/sudo to be able to configure firewall rules.

The app uses an "if os.getuid() != 0" to check whether it can run.

Is there any way to get it to work inside a snap?


Doesn't putting sudo in front of your command do the trick?
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to