digitalmahdi

Member
Jan 31, 2009
22
0
51
cPanel Access Level
Root Administrator
Hello there
I've installed GIT. I wanna let my user ability to use it!
right now when they type git it result: bash: git: command not found
any idea how can i let them to use it?

thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello :)

The "git" package is distributed with cPanel/WHM as of version 11.36. It's located at:

Code:
/usr/local/cpanel/3rdparty/bin/git
You will need to use the full path when calling to it.

Thank you.
 

digitalmahdi

Member
Jan 31, 2009
22
0
51
cPanel Access Level
Root Administrator
Hello there.

I run : bash: /usr/local/cpanel/3rdparty/bin/git: No such file or directory

stil not working!

- - - Updated - - -

it works for root! i need it to get work on user account!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
it works for root! i need it to get work on user account!
The following command works well when testing as a user with both normal and jailed shell:

Code:
# /usr/local/cpanel/3rdparty/bin/git --version
git version 1.7.11.3
Do you have any special restrictions on the shell access granted to your users?

Thank you.
 

digitalmahdi

Member
Jan 31, 2009
22
0
51
cPanel Access Level
Root Administrator
The following command works well when testing as a user with both normal and jailed shell:

Code:
# /usr/local/cpanel/3rdparty/bin/git --version
git version 1.7.11.3
Do you have any special restrictions on the shell access granted to your users?

Thank you.
no i don't. all i have is cagefs installed on cloudlinux.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
This could be a result of your cagefs installation. Have you tried temporarily disabling cagefs to confirm if that is the case?

Thank you.