Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Modify Jail-Shell Setup

Discussion in 'General Discussion' started by Sindre, Nov 23, 2008.

  1. Sindre

    Sindre Well-Known Member

    Joined:
    Aug 25, 2008
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    56
    I would like to add some files to the virtual filesystem that is created for each Jail-Shell. Is this possible? More specifically, I would like to make the IonCube loaders in /usr/local/IonCube available to Jail-Shell users. Regular bash-shell users can see this folder, but it is not visible to Jail-Shell users.

    Is there some script I can modify to add/remove files that are copied into the virtfs?

    Thank you,
    Sindre
     
    #1 Sindre, Nov 23, 2008
    Last edited: Nov 23, 2008
  2. stdout

    stdout Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    189
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Nelspruit, Mpumalanga, South Africa
    cPanel Access Level:
    Root Administrator
    I would look into applying a tiny subroutine to "/usr/local/cpanel/bin/setupvirtfs" which copies the existing /usr/local/ioncube dir to /home/virtfs/$user/usr/local/ioncube
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,569
    Likes Received:
    45
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    JailShell will now mount IonCube, if it exists, in cPanel 11.24
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Sindre

    Sindre Well-Known Member

    Joined:
    Aug 25, 2008
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    56
    That is great news! Any ETA for when the Release build branch will be updated to 11.24?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice