|
|
In the default user, create a new user (`test` in this instance) and add the new user to the required groups.
|
|
|
|
|
|
```
|
|
|
ssh -CXY gateway
|
|
|
ssh -CXY pi@138.253.178.80
|
|
|
|
|
|
sudo adduser test
|
|
|
sudo usermod -a -G i2c test
|
|
|
sudo usermod -a -G spi test
|
|
|
sudo usermod -a -G dialout test
|
|
|
sudo usermod -a -G sudo test
|
|
|
sudo usermod -a -G gpio test
|
|
|
logout
|
|
|
```
|
|
|
|
|
|
Log in as new user:
|
|
|
|
|
|
```
|
|
|
ssh -CXY test@138.253.178.80
|
|
|
|
|
|
# build python 3.10 or newer
|
|
|
# create and activate virtual environment
|
|
|
# clone repo and install wheel
|
|
|
# manually install final dependency
|
|
|
# test run
|
|
|
``` |