Snapped apps using su/sudo
Alberto Donato
alberto.donato at canonical.com
Mon Dec 19 14:10:44 UTC 2016
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?
Thanks,
-Alberto
--
Alberto Donato | alberto.donato at canonical.com
https://launchpad.net/~ack | GPG: 2048R/9E2823B3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161219/c4e04f24/attachment.html>
More information about the Snapcraft
mailing list