# Security with Roon ARC / Roon 2.0

**URL:** <https://community.roonlabs.com/t/security-with-roon-arc-roon-2-0/206917>\
**Category:** Feedback\
**Created:** [July 15, 2022, 12:36pm UTC](https://community.roonlabs.com/t/security-with-roon-arc-roon-2-0/206917 "2022-07-15T12:36:54Z")\
**Posts on this page:** 1\
**Showing post:** 166

<div class="post-metadata">

**Author:** ![Jacques\_Distler](https://community.roonlabs.com/letter_avatar/jacques_distler/32/5_5575768a8748004e209b776fc1b2916d.png) [@Jacques\_Distler](https://community.roonlabs.com/u/Jacques_Distler)\
**Post date:** [September 21, 2022, 6:01am UTC](https://community.roonlabs.com/t/security-with-roon-arc-roon-2-0/206917/166 "2022-09-21T06:01:59Z")

</div>

> [@David\_Halliday](#):
>
> It means you would need a two step attack chain to be in real trouble. The first is some compromise of the API or underlaying libraries allowing for remote code execution as the roon user then an escalation of privilege attack to raise to root.

Little steps.

At least make things harder for the attacker.

```auto
sudo adduser --system --group --home /var/roon roon
sudo adduser roon audio
sudo chown -R roon:roon /opt/RoonServer /var/roon
sudo chmod 755 /opt/RoonServer
sudo vi /etc/systemd/system/roonserver.service

```

Edit the file so that RoonServer starts as `User=roon`.

Then

```auto
sudo systemctl daemon-reload
sudo systemctl start roonserver

```

Now RoonServer should be running as an unprivileged user.

If you’re still queasy about running an Internet-facing daemon on QNAP, then consider buying a NUC, running RoonServer on that (NFS-mounting your media files from your QNAP).

Or run Roonserver in a Docker Container on your QNAP…

---

_[View the full topic](https://community.roonlabs.com/t/security-with-roon-arc-roon-2-0/206917)._
