Read answer of janos below.
It's more use SSH-keys to access a root directly.
I want to secure the SSH access to my server. One thing I read everywhere is to disable the root user login.
To still have access via SSH I created another user via
sudo adduser john
How can I still do root things with this account?
sudo command asks for a password of the user but gives
john not in sudoer file. Action will be reported. When I use
su I log in as root which I'm going to disable.
How can I stil do
root things with the normal account