• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Issue sudo user has very limited access

Havouza

New Pleskian
Hi!
I run Plesk on Ubuntu 18.04
I often need access via SSH and has always used root user. But I know it is not the best to do so I have created a new user and given it sudo rights. But somehow it does not work.
Example
I want to make a cd /var/www/vhosts/example.com
I can go to vhosts but for example.com I get permission denied. This seems somehow be a Plesk problem, I have another server with Webmin CP and there I have no problem at all

Please advice

Regards

Anders Yuran
 
I think a different approach could work better for you.
- Create a standard user account on your system without root privileges
- Verify (by testing) that this account can log in to SSH into its home directory
- In your /etc/ssh/sshd.config file set the "PermitRootLogin" option to "no"
- Restart sshd
- Login with the normal user account that you have created in step 1
- Then use "su" command to upgrade your permissions to root privileges after logging in.
 
Back
Top