From 8d64e04cb528732ef0844a120620acc64f9fbc41 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Sun, 1 Jun 2014 03:41:51 +0000 Subject: Sun Jun 1 03:39:22 UTC 2014 --- community/cinnamon/set_wheel.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'community/cinnamon/set_wheel.patch') diff --git a/community/cinnamon/set_wheel.patch b/community/cinnamon/set_wheel.patch index 372308342..5669b67e5 100644 --- a/community/cinnamon/set_wheel.patch +++ b/community/cinnamon/set_wheel.patch @@ -1,14 +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: +@@ -747,7 +747,7 @@ class Module: pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48) description = "%s\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)) +- os.system("usermod %s -G %s,sudo,nopasswdlogin" % (username, username)) ++ os.system("usermod %s -G %s,sudo,wheel,nopasswdlogin" % (username, username)) else: os.system("usermod %s -G %s" % (username, username)) self.load_groups() -- cgit v1.2.3-54-g00ecf