• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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