<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">El 19 dic. 2016 11:11 AM, "Alberto Donato" <<a href="mailto:alberto.donato@canonical.com">alberto.donato@canonical.com</a>> escribió:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm trying to create a snap for sshuttle, the ssh-based VPN app.</div><div>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.</div><div><br></div><div>The app uses an "if os.getuid() != 0" to check whether it can run.<br clear="all"></div><div><br></div><div>Is there any way to get it to work inside a snap?</div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Doesn't putting sudo in front of your command do the trick?</div></div>