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.

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:
    15,617
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In WebHost Manager > Plugins > CageFS, are all users in the left Enabled column?
     
  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:
    37,064
    Likes Received:
    1,286
    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.
     
  5. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    65
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    You can probably file a bug at CloudLinux .
     
Loading...

Share This Page