diff --git a/source/_docs/installation/fedora.markdown b/source/_docs/installation/fedora.markdown index 52f01886f6e..be37bdeecba 100644 --- a/source/_docs/installation/fedora.markdown +++ b/source/_docs/installation/fedora.markdown @@ -27,12 +27,13 @@ To isolate the Home Assistant installation a [venv](https://docs.python.org/3/li ```bash $ sudo mkdir -p /opt/homeassistant -$ sudo useradd -rm homeassistant -G dialout,gpio +$ sudo useradd -rm homeassistant -G dialout $ sudo chown -R homeassistant:homeassistant /opt/homeassistant ``` Now switch to the new directory, setup the venv, and activate it. ```bash +$ sudo -u homeassistant -H -s $ cd /opt/homeassistant $ python3.6 -m venv . $ source bin/activate