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.

adding/removing programs from jailshell

Discussion in 'General Discussion' started by vis, Mar 30, 2003.

  1. vis

    vis Member

    Joined:
    Feb 16, 2002
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    The jail shell itself (non cpanel version) normally has the ability to add or remove programs from a specific user's shell. These programs are not included with the jailshell that cpanel distributes. How can we add/remove programs from a specific user's account ? The virtual FS exists under /home/virtfs but there are no files. I can't find any config files that the jailshell works from either.
     
  2. krellen

    krellen Member

    Joined:
    Oct 1, 2002
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I too would like to find an answer to this!
     
  3. krellen

    krellen Member

    Joined:
    Oct 1, 2002
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
  4. DrChaos

    DrChaos Active Member

    Joined:
    Dec 23, 2001
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    Users who have jailshell can run top and ps... any way to prevent this?
     
  5. chakky

    chakky Well-Known Member

    Joined:
    Sep 22, 2002
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    whats the relation between /home/virtfs and jailshell??
     
  6. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    In FreeBSD you can prevent users from running TOP by moving it from /usr/bin/top to /usr/sbin/top so only the super user can run it.

    If you'd like to limit the processes so the user can only see their own do this:

    Put this in /etc/sysctl.conf:

    kern.ps_showallprocs=0

    Then run this command:

    sysctl kern.ps_showallprocs=0

    cPanel.net Support Ticket Number:
     
  7. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    I haven't tried disabling it by moving it like I mentioned above, but I made it so they can only see the processes which are run under their USERID.

    cPanel.net Support Ticket Number:
     
  8. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Will that work in Redhat? or is it just a Freebsd option?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page