Skip to content

Commit

Permalink
Use useradd, not adduser
Browse files Browse the repository at this point in the history
  • Loading branch information
malomalo committed Feb 9, 2014
1 parent a028eaa commit 7f7f50e
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 @@ -59,7 +59,7 @@ end
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/useradd --create-home #{name}`
`/usr/sbin/usermod -a -G wheel #{name}`
end

Expand Down

0 comments on commit 7f7f50e

Please sign in to comment.