• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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