Support Centre
Find the answers to your questions and get the support you need with the VentraIP help centre.
Browse by Popular
Domain Name
- What is a domain name?Eligibility criteria for registering .AU domain namesPremium domain names explained
Web Hosting
View AllEmail Hosting
View AllGoogle Workspace
- Getting Started with Google WorkspaceGoogle Workspace support resourcesTransferring an existing Google Workspace service to VentraIP
Account
- How do I reset my VIPcontrol password?How do I create a VentraIP account?How can I see who accessed my VentraIP account?
Troubleshooting
- How do I clear my browser cache?Troubleshooting a ‘500 internal server' errorTroubleshooting with a ping test
How to create a sudo user
This article describes how to give a user sudo access, to provide higher level access, usually restricted only to the root user.
A user with sudo access can be limited to only certain commands, or can be given full access just like the root user, but without having to give out your root password.
How do I give a user sudo access?
- SSH into your VPS. For Self Managed VPS’ the SSH port is 2222.
- If you haven’t already, create a user using the following command (change “vipsupport” to whichever username you like):
# useradd vipsupport
- Set a password for the newly created user:
# passwd vipsupport Changing password for user vipsupport. New password: Retype new password: passwd: all authentication tokens updated successfully.
- This user can now SSH into your VPS with the password you just set, however they will not have any root user privileges. To add these, open the /etc/sudoers file by running the command:
# visudo
- Scroll to the bottom of this file, and add the user you just created.
- To give this user full root permissions, add the following line to the bottom:
vipsupport ALL=(ALL) ALL
- To limit the user to only certain commands, for example “mount” or “su – root”:
vipsupport ALL=(ALL) /usr/bin/mount
- To give this user full root permissions, add the following line to the bottom:
- To exit the visudo editor, type:
<escape> :wq <enter>
We Are Here to Help You
Get in touch with one of our local experts at any time.