diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2009-03-10 14:47:19 +0100 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2009-03-13 11:02:16 +0100 |
commit | 21d78083b41826d6e2e50e16838295ffd7525d3d (patch) | |
tree | 8787ae38d4747026ade72ddaf454eed71c151f04 /users.py | |
parent | d08a9fd45b12f67d2fa96175d262d38da479bffd (diff) | |
download | anaconda-21d78083b41826d6e2e50e16838295ffd7525d3d.tar.gz anaconda-21d78083b41826d6e2e50e16838295ffd7525d3d.tar.xz anaconda-21d78083b41826d6e2e50e16838295ffd7525d3d.zip |
Add created user to default group created for the user.
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.
Diffstat (limited to 'users.py')
-rw-r--r-- | users.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |