Portal Home > Knowledgebase > Articles Database > GIT install for jailed shell user?


GIT install for jailed shell user?




Posted by The Calling, 02-09-2011, 03:39 PM
I am trying to install GIT for a jailed shell user I followed the instructions and got it working in root But it won't work in jailed shell for another user, even after adding this export PATH=$HOME/git/bin/:$HOME/git/lib/libexec/git-core/:$PATH to his .bash_profile file, nothing. user@hisdomain.com [~]# git --version -jailshell: git: command not found

Posted by Natcoweb, 02-10-2011, 09:29 AM
If you installed git to /root/git/, you can't access this directory by unprivileged user. Also you can try to load ~/.bash_profile manually, like this: # source ~/.bash_profile



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.