Restrict socket access to root and users in the signal-cli group

This commit is contained in:
Orazio 2022-01-02 10:13:41 +01:00 committed by GitHub
parent f5e5dd551d
commit d00674221f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,11 @@ Description=Send secure messages to Signal clients
[Socket]
ListenStream=%t/signal-cli/socket
SocketUser=root
# Add yourself to the signal-cli group to talk with the service
# Run 'usermod -aG signal-cli yourusername'
SocketGroup=signal-cli
SocketMode=0660
[Install]
WantedBy=sockets.target