How to use "Git" with cageFS?
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Host Provider
  2. Friday, 06 March 2015
  3.  Subscribe via email

How can we enable "git" for our cagefs users?  When they type "git", they see this error:

-bash: git: command not found' 

Rate this post:
  1. 14.10.2017 07:10:11
  2. # 1
Giuseppe Pelligra Accepted Answer
Posts: 0
Joined: 15.10.2019

You will need to first install it using the standard yum command

yum install git

Once it has been installed, you will then have to add the RPM to the CageFS skeleton, and then force a rebuild to ensure it's allowed for all users.

cagefsctl --addrpm git
cagefsctl --force-update

On this is done, the git application should be available correctly within CageFS for all users to utilise via SSH.
  • 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.