Question
How do I login with created non-root user (Win, PuTTY)
I’m not well skilled when it comes to setting up drolets but I’m learning by myself and following the amazing tutorials here and on the web. I just created a droplet and SSH keys for login in via PuTTY.
One DO tutorial recommends making a non-root user so I created another user, and another set of SSH key for that user. But my PuTTY login always brings me up to root@mydroplet, and if I want to switch to non-root I have to do ssh non-root@mydroplet
How do I setup PuTTY so it logs me in as non-root user every time?
Also, one tutorial suggests that when creating a non-root user I should grant admin privileges by executing the following
# adduser <YOUR USERNAME>
# groupadd admin
# usermod -a -G admin <YOUR ADMIN USERNAME>
I’m bit confused, Your Username is (i presume) non-root user that I created, but Admin Username? I didn’t setup any admin usernames. Is it Root?
Thanks :)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×