[Buildroot] [PATCH 1/1] package/sudo: removed template config, added convenient 'sudo' group config options.

Stephan Henningsen stephan at asklandd.dk
Fri Oct 25 19:20:24 UTC 2019


fre. 25. okt. 2019 10.15 skrev Thomas Petazzoni <
thomas.petazzoni at bootlin.com>:

> On Fri, 25 Oct 2019 10:10:51 +0200
> Arnout Vandecappelle <arnout at mind.be> wrote:
>
> >  I agree with that. If there is a sudo group, the only reason to have it
> is to
> > make it sudo-able. In the unlikely case that it needs to be different,
> it can
> > still be overridden in overlay.
> >
> >  I believe our principle should be: allow any user customisation, but
> make sure
> > that the out-of-the-box experience is as smooth as possible.
> >
> >  Obviously the out-of-the-box experience will still not be completely
> smooth
> > since there is no user in the sudo group, but it is still better than
> not having
> > a sudoers entry at all.
> >
> >  So the only question is: should the addition of the sudo group be
> optional or
> > not? I see little reason to make it optional. Yes, it is yet another
> group, but
> > that just costs a few bytes in /etc/groups (which in practice doesn't
> cost
> > anything as long as the file stays under 4K).
>
> I'd say let's make it non-optional.
>

Me too. The two go hand in hand. I don't know why I made the separation to
begin with.

I'll return with at revised patch when I return from vacation and to a
computer.

-- 
Stephan

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191025/97b4ce25/attachment-0002.html>


More information about the buildroot mailing list