adjust nohome param when using luser

fixes #32199
pull/32411/head
Brian Coca 7 years ago committed by Brian Coca
parent 95b31a3b61
commit bd321a0af6

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

Loading…
Cancel
Save