To really get the most out of your Linux server, at some point you’ll probably need to install something or change some configuration file that requires root/admin access. You can accomplish this by becoming the substitute user, super user or switch user.
Warning: Because you can do anything when you have root/admin access, it’s really easy to mess up your server. Be careful.
- Enable root/admin access for your server.
- Connect via SSH to your server and run this command:
sudo su – - Enter your server password. You should now have root access.
More info
- Here’s how to reset a Gen 3 server password or a Gen 4 server password.