Create a user and grant sudo privileges

After deploying a new Velocity SSD VPS, it's recommended to create a new user account with sudo privileges.  This is preferred method instead enabling root login via SSH.  A user with full sudo privileges will be able to execute all commands as root.

  1. Login to the Entity Data Client Area -> Services -> Select your Velocity SSD VPS

  2. Click "NoVNC Console" to access the console.

  3. Login with username root and the root password as chosen during the ordering process.

  4. Add your new user account, i.e:
    useradd bob
    passwd bob

  5. Grant the user full sudo permissions by first opening the Sudoers file:
    visudo

  6. Add the new user, in this case bob with full permissions:
    bob ALL=(ALL) ALL

  7. Save and exit (i.e. :wq)

  8. You can now login via SSH with the new user.  You then gain root privileges with this command:
    sudo su - root
  • 6 Users Found This Useful
Was this answer helpful?

Related Articles

Initial Setup Steps - Linux Server

Velocity SSD VPS Initial Setup Steps - Linux Server

How to create snapshot

Prerequisites: You must have a Velosity SSD VPS   Login to the client area at...

How to restore from a snapshot

Prerequisites: You must have a Velosity SSD VPS with a snapshot previously created   Login to...

Enable Root Login via SSH

By default, most operating system templates have root login via SSH disabled in accordance with...