- Change User Password
- Change Hostname
- Enable SSH
- Change Time-Zone
sudo timedatectl
- Memory Spit
sudo raspi-config
-
Choose a secure password for the root user.
sudo passwd root
-
Logout. And then log back in as the user 'root' using the password you just created. ...
-
Rename User
usermod -l newname pi
-
Assign Home Folder
usermod -m -d /home/newname newname
-
Now logout and login back in as newname
-
If you wish you can disable the root user account again but first double check newname still has
'sudo' privileges. Check the following update command works:
groups newname
sudo apt-get update
-
If it works then you can disable the root account by locking the password (if you want to)
sudo passwd -l root
Install WiringPi
sudo apt-get install wiringpi
Usage
gpio readall
Install Pinout (Python3)
sudo apt-get install python3-pip
sudo pip3 install gpiozero
Usage
pinout
Start the SSH service with systemctl
sudo systemctl enable sshd
sudo systemctl start sshd
sudo systemctl restart sshd