Documentation for ks option user says (--groups option) that user is added to default group, but we've been only setting the default group as user's primary group. --- users.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/users.py b/users.py index 3f5d735..4d2e1a5 100644 --- a/users.py +++ b/users.py @@ -129,6 +129,7 @@ class Users: self.admin.lockUser(userEnt) # Add the user to all the groups they should be part of. + grpLst.append(self.admin.lookupGroupByName(name)) for grp in grpLst: grp.add(libuser.MEMBERNAME, name) self.admin.modifyGroup(grp) -- 1.5.4.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list