Skip to content

Instantly share code, notes, and snippets.

View lachlan-00's full-sized avatar
🐢
not a lot of time

lachlan lachlan-00

🐢
not a lot of time
View GitHub Profile

set up root and replace default user

pi@raspberrypi:~# sudo su
root@raspberrypi:/home/pi# passwd
root@raspberrypi:/home/pi# reboot

log in as root and set up new user

root@raspberrypi:~# useradd -d /home/user user
root@raspberrypi:~# passwd user