Added dialout group (#5162)

* Added dialout group

Membership of the dialout group is required for Z-Wave and Zigbee sticks

* Minor change
This commit is contained in:
DubhAd 2018-04-14 08:38:26 +01:00 committed by Franck Nijhof
parent f30e4a7c36
commit d6b1ac2262

View File

@ -49,10 +49,10 @@ $ sudo apt-get install python3 python3-venv python3-pip
```
Add an account for Home Assistant called `homeassistant`.
Since this account is only for running Home Assistant the extra arguments of `-rm` is added to create a system account and create a home directory.
Since this account is only for running Home Assistant the extra arguments of `-rm` is added to create a system account and create a home directory. The arguments `-G dialout` adds the user to the `dialout` group. This is required for using Z-Wave and Zigbee controllers.
```bash
$ sudo useradd -rm homeassistant
$ sudo useradd -rm homeassistant -G dialout
```
Next we will create a directory for the installation of Home Assistant and change the owner to the `homeassistant` account.