Created attachment 44549 [details] Proposed patch From: David Zeuthen <davidz@redhat.com> Date: Thu, 17 Mar 2011 10:30:07 -0400 Subject: [PATCH] Use wheel group instead of desktop_admin_r and nuke supervised accounts See https://bugzilla.redhat.com/show_bug.cgi?id=688363 for details. This change makes accountsservice stop depending on Fedora-specific groups desktop_admin_r and desktop_user_r. Instead, being an administrator is now equivalent to membership in the wheel group. Which is what most Unix-grey-beards would expect. Signed-off-by: David Zeuthen <davidz@redhat.com> --- data/org.freedesktop.Accounts.User.xml | 8 ----- data/org.freedesktop.Accounts.xml | 4 --- src/daemon.c | 8 ++--- src/user.c | 45 ++++++++----------------------- 4 files changed, 15 insertions(+), 50 deletions(-)
*** Bug 35368 has been marked as a duplicate of this bug. ***
Bug 35368 isn't a dup of this... this bug just changes what's hardcoded.
The bugs are closely enough related that I think we should deal with them at the same time. I merged it this direction instead of the other way since this bug has a patch.
Okay, I've landed this now: http://cgit.freedesktop.org/accountsservice/commit/?id=b1df1b0074434cdc39ae3385aaffaf6c8d28b7b6 http://cgit.freedesktop.org/accountsservice/commit/?id=733291e426109d04fac0ae1cfc37a8585a3ccf76 http://cgit.freedesktop.org/accountsservice/commit/?id=971f0805a4d436c6bea70c604e7d74112567302a
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.