Reference and guides to build kick ass raspberry pi projects.
View the Project on GitHub codingforentrepreneurs/Pi-Awesome
sudo useradd -m tony
tony
is the username-m
creates a home directory for tony
(ie /home/tony
)sudo passwd tony
tony
is the usernamesudo usermod -a -G www-logs,www-git,www-data tony
The groups www-logs
and www-git
where created at other times. In the Pi Server tutorial series, we created these groups for special permissions. Read more about creating groups and user permissions here
sudo reboot
To ensure all change take effect, reboot your server.
ssh
ssh tony@raspberrypi
If you setup ssh
keys like we did here you won’t need to use your password. To force a password to be used do this instead:
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no tony@raspberrypi