1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Shell Access Options

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by ShaneG, Dec 18, 2010.

  1. ShaneG

    ShaneG New Pleskian

    16
    60%
    Joined:
    Aug 21, 2010
    Messages:
    12
    Likes Received:
    0
    Location:
    Canada
    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.
     

    Attached Files:

  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    This will allow the FTP user to login via SSH, and enables the SSH Terminal within Plesk. I suggest you choose /bin/bash
     
  3. madmac@

    madmac@ New Pleskian

    22
     
    Joined:
    Jan 25, 2009
    Messages:
    3
    Likes Received:
    0
    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?
     
  4. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    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.
     
Loading...