• 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.

Shell access is somehow granted to 2 plesk users

Frater

Regular Pleskian
I just added a Linux user and checked the contents of /etc/passwd by issuing
It's to find out which users have shell access.
Code:
grep  ':/bin/.*sh$' /etc/passwd

It showed me 2 user accounts that had shell access.
These 2 users (like many others) have been migrated several times and are Plesk accounts for about 5 years.
Currently they are running on a Plesk 11.5.3 server.
These are the administrators of merely a site and these accounts are normally not used.

One account has the opening shell "/usr/local/psa/bin/chrootsh" and the other one has "/bin/sh""
I can of course change both to "/bin/false", but I would like to know how it ever got this way.
I have checked both accounts using the PSA and I can't find any additional SSH access there.

Anyone knows which settings I should check?
 
Hello,

Check ssh setting through plesk panel

1. Login to Parallels Plesk Panel
2. Click on the Domains icon or link
3. Select the domain you want to forward from the list
4. Click on the Website Settings
5. Check which SSH shell is enabled for you account
 
Yeah, I had this in December. Out of 2 domains migrated one had

allow-ssh.png

One of these enabled, I only noticed when I sftp'd to the server.
The other one was fine.

Change in..

Plesk -> Subscriptions -> domain.tld -> Customize -> Permissions.


My Migration was from...

Ubuntu 10.04.4 LTS - Plesk 11.5.30
To
Ubuntu 12.04.3 TLS - Plesk 11.5.30

Unsure what MU's they were on but it would have been whatever the latest update was in mid December.
 
Last edited:
Back
Top