• 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

Shell Access Options

ShaneG

New Pleskian
What does "Shell access to server with FTP user's credentials" do?

I'm on the "Web hosting setup for domain [domain name]" page. I got here by clicking Home > Domains > [domain name] > Web Hosting Settings.

The "Account Preferences" section has the "Shell access to server with FTP user's credentials" option. The available options are:

Forbidden
/bin/csh
/bin/sh
/usr/bin/tcsh
/bin/tcsh
/bin/bash
/bin/rbash
/usr/bin/screen
/bin/dash
/bin/bash (chrooted)

What do these options mean?

Thanks,
Shane.
 

Attachments

  • shell.png
    shell.png
    69.3 KB · Views: 6
This will allow the FTP user to login via SSH, and enables the SSH Terminal within Plesk. I suggest you choose /bin/bash
 
But what does it all mean?

I have searched far and wide but every answer I can find avoids the question:

What do the different options mean?

For example, /bin/bash (chrooted) does not enable access to anything useful, not mysql, not tar, not wget.

On the other hand, /bin/sh enables access to mysql and tar but not wget. You are also able to navigate the entire /var/www/vhosts/ tree, which is not ideal.

Does anybody know?
 
Honestly I would not allow any of your users to have any kind of shell access ever under any condition. It is really asking for problems.
 
Back
Top