diff options
author | Colin Walters <walters@verbum.org> | 2013-03-12 10:18:08 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2013-03-12 17:34:05 -0400 |
commit | 43649abb64811d13dc19e2b1d35987771c7d7727 (patch) | |
tree | 0f443bee781a893cc21a6e3b8e8a892662c2c2d8 /src/daemon.c | |
parent | 636d639fc1ba81b769597e2d45d162632f61f2e1 (diff) | |
download | accountsservice-43649abb64811d13dc19e2b1d35987771c7d7727.tar.gz |
Add --enable-admin-group build option
Two major choices are wheel/sudo; that's unlikely to unify
anytime soon, so let's make it build-time configurable.
https://bugzilla.gnome.org/show_bug.cgi?id=695419
https://bugs.freedesktop.org/show_bug.cgi?id=62235
Diffstat (limited to 'src/daemon.c')
-rw-r--r-- | src/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.c b/src/daemon.c index c7457d2..7486b84 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -1141,7 +1141,7 @@ daemon_create_user_authorized_cb (Daemon *daemon, argv[3] = cd->real_name; if (cd->account_type == ACCOUNT_TYPE_ADMINISTRATOR) { argv[4] = "-G"; - argv[5] = "wheel"; + argv[5] = ADMIN_GROUP; argv[6] = "--"; argv[7] = cd->user_name; argv[8] = NULL; |