Sudo is a Linux command that allows a user to run commands as a ‘super user’ or root.
Sudo Usage on Shared StackCP Hosting: #
- Not Permitted: The use of the sudo command is not allowed on our shared hosting platform. Attempting to use sudo will result in an SSH access violation, and your SSH access will be suspended.
- Security Measure: This restriction is in place to ensure the security and integrity of our shared hosting platform, protecting all users from potential vulnerabilities.
What Happens if Sudo is Used?
- Immediate Session Termination: If the sudo command is used, the terminal will close immediately, terminating the current session. Reconnection attempts will also result in the terminal closing without warning.
- Notification: This restriction is noted in the welcome message when connecting to shared services via an SSH connection.
How to Unblock SSH Access After Using Sudo:
- If your SSH access has been blocked due to the use of sudo, please raise a support ticket with our Support Team to remove the block.
What if I Need to Use Sudo?
- Alternative Solution: If you require the use of the sudo command, you will need to switch to a Self-managed VPS rather than using shared hosting.