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 18th July 2013, 03:09
fatbear fatbear is offline
Member
 
Join Date: Jul 2010
Location: Raleigh, NC US
Posts: 42
Thanks: 4
Thanked 9 Times in 4 Posts
Default Setting Up Git in Conjunction with an ISPConfig chroot (JailKit)

What I'm trying to do is to have a GIT repository on the server that:

1. Users can use GIT over SSH remotely.
2. Users can ssh onto the server and run GIT commands locally.

Users are to be created all under one client id (e.g., client5).
Users are to be chrooted so that they can't see other client files on the server (e.g., they cannot see client7's files).
Users have access to shared GIT repositories (e.g., all GIT repositories created for client5).

The problem I'm having is that I need to instantiate a GIT repository in just one directory. So, how do all chrooted users see that directory?

Can anyone explain how to use ISPConfig in conjection with setting up GIT to be shared by many users under one client account?

Many thanks!
__________________
Steve Amerige, Fat Bear Incorporated
Server Leasing | Web Software Development | User Experience & Graphic Design
Managed Services, Website, Java, and Source-Code Hosting
Did my post help you? Click the Thanks button!

Last edited by fatbear; 18th July 2013 at 03:11.
Reply With Quote
Sponsored Links
  #2  
Old 18th July 2013, 03:59
fatbear fatbear is offline
Member
 
Join Date: Jul 2010
Location: Raleigh, NC US
Posts: 42
Thanks: 4
Thanked 9 Times in 4 Posts
Default

I edited /etc/jailkit/jk_init.ini and changed under [git] the directories entry to be:

directories = /usr/share/git-core, /repo

The /repo directory is where the GIT repository is located.

Then, I went to the ISPConfig GUI:
Server Config > myhostname > JailKit
and changed Jailkit chroot app sections to include git.

But, this did not make GIT visible when I connected via SSH to one of the JailKit'd usernames.

Am I on the right track?
__________________
Steve Amerige, Fat Bear Incorporated
Server Leasing | Web Software Development | User Experience & Graphic Design
Managed Services, Website, Java, and Source-Code Hosting
Did my post help you? Click the Thanks button!
Reply With Quote
  #3  
Old 18th July 2013, 09:48
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
 
Default

Did you create a new website to test it? The jail is created once when the first jailed user is created for a new site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
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
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 20:02
ISPConfig 3 - MultiServer Setup - With Dedicated Control Panel - How? SuperJC Installation/Configuration 4 16th October 2012 21:03
ISPconfig 3: can't send or receive messages zogthegreat Installation/Configuration 6 22nd May 2010 15:45
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 15:42
ISPConfig 2.3.2-dev released till General 9 4th June 2007 11:46


All times are GMT +2. The time now is 15:41.


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