Jailkit + ISPCONFIG = Nightmare

Discussion in 'Installation/Configuration' started by BeeJees, Feb 24, 2010.

  1. BeeJees

    BeeJees New Member

    Hi everybody,

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

    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.

    [​IMG]

    And to configure there :

    [​IMG]

    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 !!! :D
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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/controlpanels/ispconfig3/how-to-update-ispconfig-3/

    and choose to reconfigure services during update to fix the broken config files.
     
  3. BeeJees

    BeeJees New Member

    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 ?
     
  4. quentusrex

    quentusrex New Member

    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.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    @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.
     
  6. BeeJees

    BeeJees New Member

    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: Feb 25, 2010
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    What is the maj?
     
  8. BeeJees

    BeeJees New Member

    I installed Jailkit 2.11 and made the maj ISPConfig 3.0.1.6
     
  9. BeeJees

    BeeJees New Member

    Nobody ???
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    You still did not say what you mean with maj. So if you did not explain your problem better, nobody is able to help you.
     
  11. BeeJees

    BeeJees New Member

    I just made the maj 3.0.1.6 like I said :(
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    What is maj? maj is no english word that I know. So please explain what you mean with maj??
     
  13. BeeJees

    BeeJees New Member

    Ohhhhh yeah sorry , maj is upgrade in french
     

Share This Page