running redis with redis user and group rights: redis

Hello.
Please tell me.
FreeBSD 11.3
redis-5.0.9
Running redis with redis user and group redis:redis ?
Now.
ls -al /tmp/redis.sock
srwxrwxrwx 1 redis wheel 0 Sep 22 09:46 /tmp/redis.sock
 
redis.conf doesn't seem to have a 'group' option.
But it's running by default with 700 anyway, so you don't need to worry about the group I think.

If you want to be super secure just run it in a jail on an IP address instead of a socket.
 
777 rights are insecure.
I decided to run redis as a regular user.
Make the socket rights 750.

And why do port 0 in redis.conf when using a socket?
 
Back
Top