Re: [PATCH] Add created user to default group created for the user.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux