1 |
acct-group/gvm |
2 |
|
3 |
--------------------------------------------------------------------------------------------- |
4 |
|
5 |
|
6 |
# Copyright 2019 Gentoo Authors |
7 |
# Distributed under the terms of the GNU General Public License v2 |
8 |
|
9 |
EAPI=7 |
10 |
|
11 |
inherit acct-group |
12 |
|
13 |
DESCRIPTION="Greenbone vulnerability management program group" |
14 |
ACCT_GROUP_ID=495 |
15 |
|
16 |
---------------------------------------------------------------------------------------------- |
17 |
|
18 |
|
19 |
Updated PR --> https://github.com/gentoo/gentoo/pull/12609 |
20 |
|
21 |
> On Sat, Aug 3, 2019 at 8:04 PM Hasan Calisir <hasan.calisir@×××××××.com> wrote: |
22 |
> |
23 |
>> Hi, |
24 |
>> |
25 |
>> gvm (previously named OpenVAS) doesn't have a fixed ID in fedora or arch. I assigned free 495 according to https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment |
26 |
>> |
27 |
>> Why we need USER? |
28 |
>> |
29 |
>> Community edition of gvm {Greenbone Vulnerability Management} with version 10 uses only rsync to updating feeds and rsyncing under root is not secure.Upstream strongly recommends to run daemons and feed updates under non-root user. Because of that i need user 'gvm' for the package. All services & init scripts and vulnerability feed executables will run under user 'gvm'. |
30 |
>> |
31 |
>> Main PR --> https://github.com/gentoo/gentoo/pull/12542 |
32 |
>> |
33 |
>> acct-user/gvm PR --> https://github.com/gentoo/gentoo/pull/12609 |
34 |
>> |
35 |
>> ---------------------------------------------------------------------------------------------- |
36 |
>> |
37 |
>> # Copyright 2019 Gentoo Authors |
38 |
>> # Distributed under the terms of the GNU General Public License v2 |
39 |
>> |
40 |
>> EAPI=7 |
41 |
>> |
42 |
>> inherit acct-user |
43 |
>> |
44 |
>> DESCRIPTION="Greenbone vulnerability management program user" |
45 |
>> ACCT_USER_ID=495 |
46 |
>> ACCT_USER_HOME=/var/lib/gvm |
47 |
>> ACCT_USER_SHELL=/bin/bash |
48 |
>> ACCT_USER_GROUPS=( gvm ) |
49 |
>> |
50 |
>> acct-user_add_deps |
51 |
>> |
52 |
>> ------------------------------------------------------------------------------------------------ |
53 |
> |
54 |
> Your ebuild sets ACCT_USER_GROUPS=( gvm ), but acct-group/gvm does not |
55 |
> exist. You must also create an ebuild for the group. |