• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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