• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Newbie - How do I create ssh access with sudo priv

sdlx

New Pleskian
Hi All,

Newbie question - I have tried to find the answer on these threads before posting but it seems to be something so fundamental that its just not been posted.

I'm running Plesk onyx on a ubuntu server 14.04

After adding a domain - I can allow ssh access (and select the shell - I have tried /bin/bash & /bin/bash chrooted), and then ssh with that account no problem.
Issue is that I cannot sudo - I get permission denied, not member of sudoers group.

I go back to the Files section of the domain in Plesk and I cannot edit the /etc/group file.

I am clearly overlooking something SO obvious, but I cant figure it out.

I have tried creating a new administrator, ssh with the credentials for the plesk admin, get access denied at those points.

Can you help a newbie out please ?

Thankyou.
 
Bump.

Do I have an issue with my templated setup from the service provider or is there a step in creating the subscription / domain I am missing ?

Thanks in advance.
 
Subscription users do not have root access. And you should by all means avoid allowing /bin/bash shell, because then the subscription user can access files outside his own subscription on the system. Always use the chrooted shell only. For administration purposes, use your root server login, do not go through a subscription.
 
Thanks Peter.

This is for administrative purposes and there will only be one person using the account, but yes I fully appreciate the access aspect of all domains. Thank you for reiterating that though.
Ok - so I am trying to ssh into the server (one ip address, main server name and some domains under it). Using the

"main-plesk-username"@ipaddress = permission denied.
"main-plesk-username"@pleskservername = permission denied.
"main-plesk-username"@domainname-created-in-plesk = permission denied.

The same applies using root as the root user is not enabled but default in ubuntu installs.

Can you think of whats going wrong ?

Regards,
 
You either login using "root" (no add-ons like @...) or a user name that was used when setting the operating system up. You do not use any Plesk credentials to log in to the host.
 
Thanks Peter.
I've migrated hosting company and from cpanel to plesk at the same time, so its a steep learning curve.

Have tried using the server credentials and still not getting anywhere - but it looks like my problems are at the host level after your messages.
Thank you for taking the time to reply.

Have great evening.
 
Back
Top