Creating system users and system groups

Colin Watson cjwatson at ubuntu.com
Thu Feb 2 14:52:23 UTC 2017


On Thu, Feb 02, 2017 at 10:49:13AM +0000, Mark Shuttleworth wrote:
> Our general thinking is that we will maintain a standard list of those,
> and approve user creation for specific snaps. Would you be willing to go
> with _avahi and _lp and _lpadmin? Backward-looking names might get
> grandfathered, but we'd prefer newer software to use a qualifier like _
> to disambiguate such system users from end users.

You might like to use
https://anonscm.debian.org/cgit/d-i/user-setup.git/tree/reserved-usernames
as part of this; d-i and ubiquity both use that as a way of saying "you
can't use that username because it'll conflict with well-known system
users".  It doubtless won't be complete (it doesn't currently contain
avahi, for instance), but it should be a useful starting point.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the Snapcraft mailing list