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!

Detecting other user names inside cagefs

Discussion in 'CloudLinux' started by copernico, Jun 14, 2017.

Tags:
  1. copernico

    copernico Member

    Joined:
    Sep 23, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Hello

    I've just installed Cloudlinux with cagefs for the first time.

    According to cagefs docs an user inside cagefs should not be able to detect the presence of other users, but just with "ls /usr/local/apache/domlogs" inside cagefs I'm able to get all the cpanel usernames in the server.

    Do I have something misconfigured in my setup or this is the way it behaves?

    Thanks!
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,259
    Likes Received:
    390
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In WebHost Manager > Plugins > CageFS, are all users in the left Enabled column?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. copernico

    copernico Member

    Joined:
    Sep 23, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Yes, all the users are with cagefs enabled.

    The first time I realized this I was logged as root and made a "su - user", then I login thru ssh directly as the user and the result was the same.
     
    #3 copernico, Jun 14, 2017
    Last edited: Jun 14, 2017
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The domlogs directory is added by default to the /etc/cagefs/cagefs.mp file per this entry in the CageFS change log:

    CAG-644: created /etc/apache2/logs/domlogs symlink inside CageFS;

    Information about the cagefs.mp file (including how to remove default entries) is documented at:

    CloudLinux Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    91
    Likes Received:
    14
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    You can probably file a bug at CloudLinux .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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