#1  
Old 24th February 2010, 18:25
BeeJees BeeJees is offline
Junior Member
 
Join Date: Feb 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Jailkit + ISPCONFIG = Nightmare

Hi everybody,

I search a solution since many days and i didnt find a solution of my trouble ...
You are my last chance !!!

I got a OVH RPS with default ispconfig configuration, This server is a web server with many vhosts, and I wanted to give ssh access (more secure than ftp) to my users.

With jailkit, I was thinking It'll be simple to chroot all my ssh user.



And to configure there :



But it didn't work ... Then I saw that jailkit was not installed in my server even if the option was enable in the configuration (... poor OVH ), So I installed Jailkit, but it still doesnt work ...

I saw a post with the same problem but it was for ispconfig 2 ...


If someone had the same problem plz help me !!!
Reply With Quote
Sponsored Links
  #2  
Old 24th February 2010, 21:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

Thats more a problem of the ovh image then ispconfig, as jailkit has to be installed before ispconfig gets installed (see installation instructions), otherwise jailkit will not work as the jailkit install overwrites some ispconfig files. You can fix this e.g. by updating ispconfig:

http://www.faqforge.com/linux/contro...e-ispconfig-3/

and choose to reconfigure services during update to fix the broken config files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th February 2010, 02:02
BeeJees BeeJees is offline
Junior Member
 
Join Date: Feb 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thx so much to answered so fast

I uploaded ispconfig but I still can't connect to the shell with my user...

Can you give me a line of your file /etc/passwd when you create a ssh user with ispconfig ?
Reply With Quote
  #4  
Old 25th February 2010, 03:04
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

till,

I noticed something to that an 'upgrade' from the same version even if it is to reconfigure services isn't overwriting some of the files. Such as the /etc/postfix/main.cf file.
Reply With Quote
  #5  
Old 25th February 2010, 08:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

@beejees: Please delete the shell user, wait a few minutes and then create it again. The problem is not the line in the /etc/passwd file, the problem is that the jail is not setup correctly.

@quentusrex: The main.cf file is not overwritten because ispconfig is using postconf to change just some variables, if the variables are laready correct, then the file is not touched. So it might look like the config process is not run.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 25th February 2010, 13:57
BeeJees BeeJees is offline
Junior Member
 
Join Date: Feb 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Since the maj, nothing works, I can do all I want in Ispconfig (create web domain, users, ftp users), nothing is done on the server ...
However the maj did exactly like in the tutorial

Plz help me ^^

Last edited by BeeJees; 25th February 2010 at 14:01.
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 setup - DNS, router and general access problems ingvar Installation/Configuration 6 31st July 2010 13:13
Install a Comodo InstantSSL Certificate for ISPconfig Apache, Postfix, Imap & Pop gwa7 Installation/Configuration 0 10th April 2009 04:54
ISPConfig 3.0.1 and broken jailkit sylvester_0 General 3 27th March 2009 22:23
ISPConfig 2.3.1-dev released till General 0 8th May 2006 22:18
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 10:50.


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