Re: adduser hook
On Wed, Sep 1, 2010 at 4:01 AM, Robert Spiteri <firstname.lastname@example.org> wrote:
>>> See http://live.debian.net/other/hooks/ for examples, namely
> Cheers Richard.
> But I cannot understand how the passwd hook will put the user domabot in the
> lego group?
> I was thinking of inserting the adduser.conf in etc of chroot_local-includes
> and enabled the EXTRA_GROUPS option. Then I add the new group "lego" as an
> extra group. In this way, when the user is created, one of its default
> groups will be "lego" as well. What do you think of this? Does it make
I probably was not clear enough, I offered that example to show you
the power of hooks and you can make a hook to be called during boot
with the param live-config.hooks= , and have the hook do the work of
adding to the group or whatever you wish. The hook can be in the image
or on the net.
> Thanks for your time.
Welcome and hope this helps better explain.
> On 1 September 2010 03:33, Richard Nelson <email@example.com> wrote:
>> On Tue, Aug 31, 2010 at 2:50 PM, Robert Spiteri <firstname.lastname@example.org>
>> > By default I assigned the name of the live user as domabot.
>> > I already made a hook that adds a group named 'lego'.
>> > Now I need to find a way to add user domabot to group 'lego'. I cannot
>> > use
>> > adduser domabot lego since it is telling me that user 'domabot' does not
>> > exist.
>> Try live-config.hooks= boot param.
>> See http://live.debian.net/other/hooks/ for examples, namely
>> You can include something local or on the network.
>> > --
>> > Robert
>> > http://www.weavefx.com