Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st October 2012, 00:07
Guillaume Guillaume is offline
Junior Member
 
Join Date: Oct 2012
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default How to update jail for a ssh user?

Hi everyone,

I wonder if any of you could help: I recently added git to the jail applications via the ISPConfig's control panel. It works just fine when I create a SSH user for a website that did not have any SSH users before (which is the case for all of my websites but one).

However for the website I'd like to use GIT for, I tried deleting the current SSH user and creating a new one but git still won't work.

Would anyone see how to update the jail for one website/user?

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 21st October 2012, 11:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Take a look at the jk_cp command:

Code:
man jk_cp
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st October 2012, 20:26
Guillaume Guillaume is offline
Junior Member
 
Join Date: Oct 2012
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Thanks!

The following command did the trick:
Code:
jk_cp -j /var/www/clients/client1/web1/ -o -v /usr/bin/git*
I also had to copy a few libraries that were missing but it might be because I tried a few things before (including a jail_update) that might have deleted them:

Code:
jk_cp -j /var/www/clients/client1/web1/ -o -v /lib/libpthread.so.0 /usr/lib/libpthread.so /lib64/libpthread.so.0 /usr/lib64/libpthread.so
Everything seems to be working just fine now, I'll got a play with my new toy a bit

Thanks again for the quick reply.
Guillaume.
Reply With Quote
The Following User Says Thank You to Guillaume For This Useful Post:
falko (22nd October 2012)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dovecot v2 with ISPConfig 3 CSsab Installation/Configuration 13 13th September 2012 19:01
Jailkit SSH user not chrooted...buy why? LTxda General 4 20th October 2011 17:43
My Centos is terribly slow Galled Server Operation 9 7th December 2010 15:31
Setting Signalfile Failed: update SupuS Installation/Configuration 18 8th May 2008 21:33
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19


All times are GMT +2. The time now is 05:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.