Skip to content

Commit

Permalink
Add users to wheel group, not the sudo group
Browse files Browse the repository at this point in the history
  • Loading branch information
malomalo committed Feb 8, 2014
1 parent 472e884 commit a028eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync-accounts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def add_system_user(name)
raise "invalid user name '#{name}'" unless name =~ /^[a-z][-a-z0-9]*$/

`/usr/sbin/adduser #{name} --gecos "" --disabled-password`
`/usr/sbin/usermod -a -G sudo #{name}`
`/usr/sbin/usermod -a -G wheel #{name}`
end

def remove_system_user(name)
Expand Down

0 comments on commit a028eaa

Please sign in to comment.