1 |
В Tue, 15 Apr 2014 11:11:53 +0900 |
2 |
Naohiro Aota <naota@g.o> пишет: |
3 |
|
4 |
> Diego Elio Pettenò <flameeyes@×××××××××.eu> writes: |
5 |
> |
6 |
> > I'm pretty sure we have an eclass function to get the name of the 0 |
7 |
> > group. |
8 |
> |
9 |
> I can't find one... but found qmail.eclass is using exactly same |
10 |
> method. |
11 |
> |
12 |
> > export GROUP_ROOT="$(id -gn root)" |
13 |
|
14 |
"id -gn root" prints initial group name of the user root. This is |
15 |
exactly what you want in fcaps.eclass. In linux "id" accepts only |
16 |
username as argument, it doesn't support uid. |
17 |
|
18 |
-- |
19 |
Alexander Tsoy |