Commit 95de2fb7 authored by Matthias Clasen's avatar Matthias Clasen

Don't make the policykit groups primary groups when creating users

parent 3099c77d
......@@ -976,10 +976,10 @@ daemon_create_user_authorized_cb (Daemon *daemon,
cd->user_name);
if (cd->account_type == ACCOUNT_TYPE_ADMINISTRATOR) {
grouparg = "-g desktop_admin_r";
grouparg = "-G desktop_admin_r";
}
else if (cd->account_type == ACCOUNT_TYPE_STANDARD) {
grouparg = "-g desktop_user_r";
grouparg = "-G desktop_user_r";
}
else {
grouparg = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment