GNOME Bugzilla – Bug 695419
requires wheel group
Last modified: 2013-04-14 20:53:49 UTC
priv->account_type = ACT_USER_ACCOUNT_TYPE_ADMINISTRATOR; is hardcoded. accountsservice in turn hardcodes a lookup for the wheel group, and bombs if it doesn't find it. wheel is basically a Red Hat-ism; it's not in Debian. So...we can fix this one of three ways (accountsservice, g-i-s, or gnome-ostree-integration).
accountsservice seems like the proper place to fix this, but I'm not sure if it's a good idea to standardize on a wheel group or not...
You can see Debian's patch here: http://patch-tracker.debian.org/patch/series/view/accountsservice/0.6.21-8/0002-create-and-manage-groups-like-on-a-debian-system.patch
Frederic, any interest in upstreaming that accountsservice patch? What if we added a --with-administrator-group configure option? Your patch seems to do two things conceptually: 1) s/wheel/sudo 2) Change the single useradd call with group into two separate add user, modify user steps It'd be nice I think to keep the single call since then it has a hope of being atomic. Do newer versions of adduser on Debian support some variant of -G?
1) --with-administrator-group would certainly do 2) there is -G support in useradd but Debian recommends using the "adduser" command, and it doesn't have a similar option (it has --add_extra_groups but it gets the list of groups from adduser.conf).
Ok, I did 1) here: https://bugs.freedesktop.org/show_bug.cgi?id=62235 2) I think should be a separate patch.
The wheel group is hardly a Red Hat-ism http://en.wikipedia.org/wiki/Wheel_%28Unix_term%29
I assume this is fixed in accountsservice?