<div dir="ltr"><div>Hey Till,</div><div><br></div>That is (as far as I know) not possible today. Those groups and users have to exist beforehand. A similar problem also exists for LXD. There is a bug at <a href="https://bugs.launchpad.net/snappy/+bug/1606510">https://bugs.launchpad.net/snappy/+bug/1606510</a> which has a few more details.<div><br></div><div>regards,</div><div>Simon</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 9:56 PM, Till Kamppeter <span dir="ltr"><<a href="mailto:till.kamppeter@gmail.com" target="_blank">till.kamppeter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I want to snap CUPS and for that also to snap avahi-daemon.<br>
<br>
A problem I am running into is that these services use special system users and groups. avahi-daemon uses the user "avahi" and CUPS uses the user "lp", and the groups "lp" and "lpadmin".<br>
<br>
How can I make my snap create such users and groups on install and remove them on uninstall?<span class="HOEnZb"><font color="#888888"><br>
<br>
Till<br>
<br>
-- <br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
</font></span></blockquote></div><br></div>