add users to town group on creation

add-key-for-user
nate 2017-12-04 20:46:45 -08:00
parent 61947db73a
commit 09f61e8ccc
1 changed files with 6 additions and 5 deletions

View File

@ -90,6 +90,7 @@ class Townie(User):
_guarded_run(['sudo',
'adduser',
'--quiet',
'--groups=town',
'--shell={}'.format(self.shell),
'--gecos="{}"'.format(self.displayname),
'--disabled-password',