• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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