1 |
Il y a 5 heures et 36 minutes, Naohiro Aota écrivit : |
2 |
> Diego Elio Pettenò <flameeyes@×××××××××.eu> writes: |
3 |
> |
4 |
> > I'm pretty sure we have an eclass function to get the name of the 0 |
5 |
> > group. |
6 |
> |
7 |
> I can't find one... but found qmail.eclass is using exactly same method. |
8 |
> |
9 |
> > export GROUP_ROOT="$(id -gn root)" |
10 |
|
11 |
user.eclass provides egetent |
12 |
|
13 |
egetent group 0 |
14 |
|
15 |
should give you the same output as $ getent group 0 | cut -d: -f1 |
16 |
|
17 |
-- |
18 |
Cyprien Nicolas (Fulax) |
19 |
Gentoo Lisp project contrib |