cpanel, git, shell
Using CPanels version of git
Collapse
X
-
Tags: None
-
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 -
I was just wondering the same thing.
Id 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.
/EComment
-
Id also like to know actually. Was considering enabling this feature on our servers aswell but feel a bit 2 sided with respect to security.Hostking | Since 2013 | Web Hosting | WordPress Web HostingComment
-
I checked the cPanel forums once more, and if it helps, the binary is located at:
/usr/local/cpanel/3rdparty/bin/gitComment
-
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 users account via SSH. and it worked.Comment
-
Great seems this all worked for me aswell. ThanksHostking | Since 2013 | Web Hosting | WordPress Web HostingComment
-
git not found command
add the RPM to the CageFS skeleton, and then force a rebuild to ensure its allowed for all users.
cagefsctl --addrpm git
cagefsctl --force-updateHostking | Since 2013 | Web Hosting | WordPress Web HostingComment
Comment