Hello.

After installing Raspbian (on the Raspberry website there are all the necessary guides), the first things to do are:

enable ssh:

sudo raspi-config

navigate to the “SSH” option under “Advanced options” and enable it (it’s not necessary but it might be useful for remote access).

Change the default username and password (respectively “pi” and “raspberry”):

enable the root user with:

sudo passwd root

log out from the pi user, log in as root and give these commands (new_user = your new username):

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

log out from the root user, log in to the new_user account and change the default password (if you haven’t already done so):

passwd

Block the password change of the root account:

sudo passwd -l root

Restart the Raspberry.

Done.

Bye!

! :) !

Sources:

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

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