Using CPanel's version of git
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. George Yedinak
  2. Wednesday, 03 July 2013
  3.  Subscribe via email
cpanel, git, shell
Rate this post:
  1. 01.08.2017 08:08:43
  2. # 1
Mahesh Accepted Answer
Posts: 0
Joined: 17.10.2019
0
Votes
Undo
git not found command

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
  1. 22.09.2013 06:09:04
  2. # 2
Hostking Accepted Answer
Posts: 38
Joined: 07.11.2012
0
Votes
Undo
Great seems this all worked for me aswell. Thanks
  1. 23.08.2013 07:08:05
  2. # 3
George Yedinak Accepted Answer
Posts: 3
Joined: 11.04.2013
0
Votes
Undo
Finally figured it out.  If you call git with the full path, it seems to work just fine.  I ran it while logged into a user's account via SSH. and it worked.
  1. 17.07.2013 18:07:33
  2. # 4
George Yedinak Accepted Answer
Posts: 3
Joined: 11.04.2013
0
Votes
Undo
I checked the cPanel forums once more, and if it helps, the binary is located at:

/usr/local/cpanel/3rdparty/bin/git
  1. 10.07.2013 09:07:29
  2. # 5
Hostking Accepted Answer
Posts: 38
Joined: 07.11.2012
0
Votes
Undo
I\'d also like to know actually. Was considering enabling this feature on our servers aswell but feel a bit 2 sided with respect to security.
  1. 06.07.2013 08:07:18
  2. # 6
eminos Accepted Answer
Posts: 10
Joined: 07.10.2012
0
Votes
Undo
I was just wondering the same thing.

I\'d like to give my customers git support.

1) Are there any security issues with git? (Using CageFS)
2) Should we just enable that git that comes with cPanel in CageFS, or use yum install git-cpanel to install that version? What would the difference be?
3) How to enable any of above for CageFS.

Thanks in advance.

/E
  1. 03.07.2013 15:07:30
  2. # 7
George Yedinak Accepted Answer
Posts: 3
Joined: 11.04.2013
0
Votes
Undo
It looks like cPanel is now coming with git, starting with 11.36.  Does anyone know if there are any instructions on how to make this available for users if CageFS and/or PHP Selector are installed on the server?

http://forums.cpanel.net/f5/git-shell-users-351281.html


# /usr/local/cpanel/3rdparty/bin/git --version
git version 1.7.11.3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
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)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.