To add a user to the wheel group, run the following commands from the root shell:
# adduser myuser    (adds the user)
# passwd myuser    (sets the new user's password)
# usermod -G wheel myuser   (adds the new user to the wheel group)
Â
To disable root login through ssh, edit the following file:
# /etc/ssh/sshd_config
browse to the following line:
PermitRootLogin yes
and change to:
PermitRootLogin no
Save the file and restart ssh.
# /etc/init.d/ssh restart  or # service sshd restart
If you are ssh'd into the server with root when this is done, your connection will fail on the restart of ssh so you need to "su" to a different user.
Â
If you locked out yourself you can use the VPS Manager console to gain access to your server.
Â