Commit 53c49e4c authored by Marcus's avatar Marcus

add primary group

parent 3d900b28
......@@ -35,7 +35,9 @@ class User:
def create(self):
# TODO this should consider self.primary_group['useradd', '--comment', self.unique_id,],['useradd', '--comment', self.unique_id,
capture_output=True, check=True)
except CalledProcessError as e:
msg = (e.stderr or e.stdout or b'').decode('utf-8').strip()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment