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

Re: What should KS users --groups option do?

Radek Vykydal написа:
> Hi list,
> In rhel 5.4 bug https://bugzilla.redhat.com/show_bug.cgi?id=454418, a
> question
> about what is kickstart command "user --groups" supposed to do was raised.
> Should it create non-existing groups specified in --groups option?
> (Now it does not both in Fedora and RHEL)
> I don't think so (see my comment
> https://bugzilla.redhat.com/show_bug.cgi?id=454418#c15
> why).
> RHEL 5 documentation says:
> user (optional)
> Creates a new user on the system.
> --groups= — In addition to the default group, a comma separated list of
> group names the user should belong to.
> What do you think?
the line in question for this bug is:
user --name=redhat --groups=red,users,wheel

After installation completes the user redhat with group redhat are created as
expected. The user is also member of users and wheel but not red.

Now my question is when the user account is created ? Pre or post installation
of packages begins ? (it should be documented probably).

In the above example the users and wheel group are crated by the installed
packages probably so they exist when the user account is created.


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