How to Manage Users on Raspberry Pi 3 Model B+
pi@raspberry:~ $ whoami
pi@raspberry:~ $ sudo su - USER-NAME
password:
USER-NAME@raspberry:~ $ exit
pi@raspberry:~ $
pi@raspberry:~ $ sudo su -
root@raspberry:~ $
pi@raspberry:~ $ sudo su -
root@raspberry:~ $ adduser NEW-USER-NAME
pi@raspberry:~ $ sudo su -
root@raspberry:~ $ usermod -aG sudo USER-NAME
deluser –force –remove-home –remove-all-files USER-NAME
cd /home
ls