Reference and guides to build kick ass raspberry pi projects.
View the Project on GitHub codingforentrepreneurs/Pi-Awesome
sudo useradd -m justin
Add password:
sudo passwd justin
sudo usermod -a -G sudo justin
Update /etc/sudoers
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
justin ALL=(ALL:ALL) NOPASSWD:ALL
Notice that I added
justin ALL=(ALL:ALL) NOPASSWD:ALL
under than%sudo
sudo hostnamectl set-hostname node-xyz
Change
node-xyz
to the name
sudo nano /etc/hosts
Add
127.0.0.1 node-xyz
sudo reboot