I build and installed the source code edtion of openvas some days ago. During this installation I installed Openvassd under root permissions and the other deamons (gsad, gvmd) under a specif user. The problem i encounter is that gsad does not have permissions to access the openvassd.sock socket. When i change this with chmod, it will work as expected.
I’m trying to figure out where i can set this setting permanent so that i don’t have to manually edit the permissions when a reboot is done.
Final note: The problem is not in the redis.sock, where a config file is available, but in the /var/run/openvassd.sock
To be sure, you have to actually start openvassd with this option. If a process is already running to won’t change the socket permissions. The socket permissions are only set on creation of the socket.
Ohh… wait i’m stupid. I thought the --listen-group was used to change a setting for openvassd and that you needed to run openvassd after that. Now I used the --listen-group as a starting parameter and it worked.