Detecting other user names inside cagefs

copernico

Member
Sep 23, 2005
10
0
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!
 

copernico

Member
Sep 23, 2005
10
0
151
In WebHost Manager > Plugins > CageFS, are all users in the left Enabled column?
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.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.