mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-16 18:28:22 -07:00
Merge branch 'nogroup' into 'next'
[Security fix] Create dedicated user group See merge request famedly/conduit!509
This commit is contained in:
commit
ff98444d03
@ -117,8 +117,7 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
Environment="CONDUIT_CONFIG=/etc/matrix-conduit/conduit.toml"
|
Environment="CONDUIT_CONFIG=/etc/matrix-conduit/conduit.toml"
|
||||||
User=conduit
|
User=conduit
|
||||||
Group=nogroup
|
Group=conduit
|
||||||
# On RHEL: Group=nobody
|
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStart=/usr/local/bin/matrix-conduit
|
ExecStart=/usr/local/bin/matrix-conduit
|
||||||
|
|
||||||
@ -198,8 +197,7 @@ If you use the default database path you also need to run this:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo mkdir -p /var/lib/matrix-conduit/
|
sudo mkdir -p /var/lib/matrix-conduit/
|
||||||
sudo chown -R conduit:nogroup /var/lib/matrix-conduit/
|
sudo chown -R conduit:conduit /var/lib/matrix-conduit/
|
||||||
# On RHEL: sudo chown -R conduit:nobody /var/lib/matrix-conduit/
|
|
||||||
sudo chmod 700 /var/lib/matrix-conduit/
|
sudo chmod 700 /var/lib/matrix-conduit/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user