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

Re: default group issue



Hi Joey,

At 29 Mar 04 04:40:36 GMT,
Joey Hess wrote:
> Kenshi Muto wrote:
> Karl Ramm wrote:
> > This doesn't make the situation any less confusing, this just puts the
> > confusion earlier in the install and setup process.
> > 
> > This needs a better list of initial groups, that it *doesn't* ask the user
> > about, (maybe it mentions them), and the obvious, documented way of adding
> > new users needs a flag for "console user".
> 
> So he just wants some infrastructure around this. That seems reasonable.

OK, I misred.

> How about something like this:
> 
>   - Add to adduser.conf a CONSOLEGROUPS variable, defaulting to 
>     CONSOLEGROUPS="audio cdrom dialout floppy video"
>   - Add a --console-user flag to adduser, which creates the user in
>     that set of groups.
>   - Make passwd's config script pass --console-user when calling adduser.

It looks very nice.
I second this plan.

> Of course we'll need Roland Bauerschmidt to decide about the adduser
> changes. A preliminary adduser patch is attached.

#147518 is similar situation (isn't accepted by maintainer), but your
patch seems more simple, more clearly.

> (Now, in the meantime, I'd not mind putting a quick fix in base-config, 
> but only if we have plans to do the real fix and later back that out.)

That's right.

Thanks,
-- 
Kenshi Muto
kmuto@debian.org



Reply to: