[Raspberry Pi] Dopo installazione Raspbian

Ciao.

Dopo aver installato Raspbian (sul sito di Raspberry ci sono tutte le guide necessarie), le prime cose da fare sono:

abilitare ssh:

sudo raspi-config

navigare fino alla voce “SSH” sotto la voce “Advanced options” ed abilitarlo (non è necessario ma vi potrebbe tornare utile da remoto).

Cambiare l’username e la password di default (rispettivamente “pi” e “raspberry”):

abilitare l’utente root con:

sudo passwd root

sloggare dall’utente pi, loggare come root e dare questi comandi (nuovo_user= il vostro nuovo username):

usermod -l nuovo_user pi
usermod -m -d /home/nuovo_user nuovo_user

sloggare dall’utente root, loggare nell’account nuovo_user e cambiare la password di default (se non l’aveste già fatto):

passwd

Bloccare il cambio password dell’account root:

sudo passwd -l root

Riavviare il Raspberry.

Fine.

Ciao!
! 🙂 !

 

 

Fonti:

https://www.raspberrypi.org/documentation/remote-access/ssh/

https://darrenjw2.wordpress.com/2013/01/01/how-to-rename-the-default-account-on-the-rasp/