Il y a 5 heures et 36 minutes, Naohiro Aota écrivit :
> Diego Elio Pettenò <flamee...@flameeyes.eu> writes:
>
> > I'm pretty sure we have an eclass function to get the name of the 0
> > group.
>
> I can't find one... but found qmail.eclass is using exactly same method.
>
> >       export GROUP_ROOT="$(id -gn root)"

user.eclass provides egetent

  egetent group 0

should give you the same output as $ getent group 0 | cut -d: -f1

-- 
Cyprien Nicolas (Fulax)
Gentoo Lisp project contrib

Reply via email to