CageFS still showing files that shouldn't be visible to user
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and Plesk
  1. Rich Stern
  2. 22.10.2014
  3.  Subscribe via email
Fresh CentOS 6.5 install, followed by Plesk 12.0.18, followed by CloudLinux and CageFS.  CageFS was initialized, users are all jailed in CageFS, and the skeleton has been updated.

When I SSH to the server as one of the domain owners, the user can still see the real contents of directories like /etc, configuration files, and so on.  Not sure why this is, and I'm hoping for some guidance on what setup step I might have missed.  I looked at the CageFS skeleton files, and the sensitive files I am seeing are not part of the skeleton.

Also, minor quality control point, perhaps an issue for the Plesk folks, but the Plesk Extensions area shows CageFS version as "0.0" and offers the description "GageFS".
Rate this post:
  1. 23.10.2014 22:10:57
  2. # 1
Rich Stern Accepted Answer
Posts: 2
Joined: 22.10.2014
Bogdan, thanks for the reply.

/etc/pam.d/sshd file:

auth required
auth include password-auth
account    required
account    include password-auth
password   include password-auth
# close should be the first session rule
session    required close
session    required
# open should only be followed by sessions to be executed in the user context
session    required open env_params
session    optional force revoke
session    include password-auth
session required 500 1

# cagefsctl --get-min-uid
  1. 24.10.2014 23:10:45
  2. # 2
Rich Stern Accepted Answer
Posts: 2
Joined: 22.10.2014
Any more help available on this issue?
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.