summaryrefslogtreecommitdiff
path: root/community/cinnamon/set_wheel.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-15 03:26:32 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-15 03:26:32 +0000
commitad45d1982b97faa9372d99e51daa687c7c09de7d (patch)
treeaf490221f2b733b8f0cf68f3898566d5049c3ab4 /community/cinnamon/set_wheel.patch
parent7c266ff5a9e1f533fd8bd8c2fbbcc05df350dcd3 (diff)
Tue Apr 15 03:22:01 UTC 2014
Diffstat (limited to 'community/cinnamon/set_wheel.patch')
-rw-r--r--community/cinnamon/set_wheel.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/cinnamon/set_wheel.patch b/community/cinnamon/set_wheel.patch
new file mode 100644
index 000000000..372308342
--- /dev/null
+++ b/community/cinnamon/set_wheel.patch
@@ -0,0 +1,14 @@
+--- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
++++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
+@@ -734,9 +734,9 @@ class Module:
+ pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
+ description = "<b>%s</b>\n%s" % (fullname, username)
+ piter = self.users.append(None, [new_user, pixbuf, description])
+- # Add the user to his/her own group and sudo if Administrator was selected
++ # Add the user to his/her own group and wheel if Administrator was selected
+ if dialog.account_type_combo.get_active() == 1:
+- os.system("usermod %s -G %s,sudo" % (username, username))
++ os.system("usermod %s -G %s,wheel" % (username, username))
+ else:
+ os.system("usermod %s -G %s" % (username, username))
+ self.load_groups()