# Create the new user first sudo adduser "username" # Give the user sudo permissions sudo usermod -aG sudo "username" # OR Give the user all pi user permissions sudo usermod -aG sudo,adm,dialout,cdrom,audio,video,plugdev,games,users,input,netdev,gpio,i2c,spi "username" # Switch user su "username" # set "username" as default user with sudo raspi-config # Go to -> System Options -> Boot / Auto login # Chose B2 and B4 sudo reboot # SSH into new user ssh "user"@IP # Remove the pi user sudo deluser -remove-home pi
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter