The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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:
    5
    Trophy Points:
    18
    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
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    JailShell will now mount IonCube, if it exists, in cPanel 11.24
     
  4. Sindre

    Sindre Well-Known Member

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

Share This Page