Make sure the 'hass' user is in the right group (#414)

In order to access the USB Z-Wave controller, the newly created user needs to be in the 'dialout' group (on Debian)
This commit is contained in:
Josh Wright 2016-04-22 03:09:49 -04:00 committed by Fabian Affolter
parent 8116de20e7
commit fc8b41ce55

View File

@ -32,6 +32,12 @@ sudo adduser --system hass
Home Assistant stores its config in `$HOME/.homeassistant` by default, so in this case, it would be in `/home/hass/.homeassistant`
If you plan to use a Z-Wave controller, you will need to add this user to the `dialout` group
```bash
sudo usermod -G dialout -a hass
```
## Step 2: Create a directory for Home Assistant
This can be anywhere you want, but I generally put stuff related to servers in /srv. You also need to change the ownership of the directory to the user you created above (if you created one)
@ -123,4 +129,4 @@ Finally, get and install python-openzwave
(hass)$ git checkout python3
(hass)$ PYTHON_EXEC=`which python3` make build
(hass)$ PYTHON_EXEC=`which python3` make install
```
```