Change the user and the password

How to create a new user

1. Change the name:

$ sudo nano /etc/hostname

in “duino-pi”

2. Change the host file

$ sudo nano /etc/hosts

in:

  127.0.0.1       localhost
  ::1             localhost ip6-localhost ip6-loopback
  fe00::0         ip6-localnet
  ff00::0         ip6-mcastprefix
  ff02::1         ip6-allnodes
  ff02::2         ip6-allrouters
                            
  127.0.1.1       duino-pi

5. Change the password

$ passwd

The passwd command allows you to change your password, you will be prompted for your old password, then you new password twice. The password is “dernulleffekt”.

4. Reboot:

$ sudo reboot