[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH] Add created user to default group created for the user.
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Subject: Re: [PATCH] Add created user to default group created for the user.
- Date: Thu, 12 Mar 2009 16:59:07 -0400
> 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)
Looks good. Please commit this on both master and storage, as storage
is what's ending up in Rawhide right now.
- Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]