diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-01 03:41:51 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-01 03:41:51 +0000 |
commit | 8d64e04cb528732ef0844a120620acc64f9fbc41 (patch) | |
tree | d70f60b2bfc9767593a9c9430f7cfffd9d4c80c6 /community/cinnamon/set_wheel.patch | |
parent | 7cd564d1e9657febf970765ffd43fcee8abe7ff5 (diff) |
Sun Jun 1 03:39:22 UTC 2014
Diffstat (limited to 'community/cinnamon/set_wheel.patch')
-rw-r--r-- | community/cinnamon/set_wheel.patch | 6 |
1 files changed, 3 insertions, 3 deletions
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 = "<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)) +- 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() |