For security, it is best practice not to use the root user for daily tasks. Instead, create a limited user with sudo (SuperUser Do) privileges.
Steps to Create a New User:
-
Add the User:
adduser vpsuser -
Grant Sudo Access:
-
Ubuntu/Debian:
usermod -aG sudo vpsuser -
Alma/Rocky:
usermod -aG wheel vpsuser
-
-
Test: Switch to the new user with
su - vpsuserand try a command likesudo apt update.
Support: If you get locked out of your root account, please email support@vpsgrid.net or create a ticket.