[Fedora-spins] Adding default user to a group
Bruno Wolff III
bruno at wolff.to
Mon Jul 16 16:32:34 UTC 2012
On Mon, Jul 16, 2012 at 16:58:50 +0200,
Jørn Lomax <northlomax at gmail.com> wrote:
>
>That works fine for the live user. Problem is that the firstboot
>script seems to be run after %post, so there is no way of knowing
>what the username for the user will be and therefore I can't set
>which groups it should belong to..
>
>Would it be possible to write a firstboot module and stick it in
>/usr/share/firstboot/modules?
In /etc/login.defs you can set groups that people get when logging
in on the console. See the setting CONSOLE_GROUPS in the man page for
login.defs.
You can also set all users to get the same primary group by default. This
has security reprocussions and shouldn't be changed lightly.
More information about the spins
mailing list