luseradd defaults to creating w/o need for -m (#32411)

and -M is incorrect in this case
pull/32415/head
Brian Coca 7 years ago committed by Matt Davis
parent 8c5cd9c530
commit 3e80f9caf4

@ -396,9 +396,7 @@ class User(object):
cmd.append(self.password)
if self.create_home:
if self.local:
cmd.append('-M')
else:
if not self.local:
cmd.append('-m')
if self.skeleton is not None:

Loading…
Cancel
Save