chroot users cannot access web directory

Discussion in 'Installation/Configuration' started by bkilinc, Jul 30, 2013.

  1. bkilinc

    bkilinc Member

    In my 2 ISPConfig installations chrooted SSH login did not work. I did not bother much as websites are managed through web interface. Right now, for some security reasons I want to use it. I tried to upgrade jailkit from 2.14 to 2.16 and I could login as chrooted user !. However my happiness did not last long, I noticed that I couldnot access web directory. there is home directory and under it there is a web directory (like /home/web198) however it is empty. I guess it should be a symbolic link to web folder, but it is not. Any help will be appreciated.
    ISPCOnfig version :
    OSes on two servers: ubuntu linux 12.04 and 11.10
    Last edited: Jul 30, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That correct. This is the home directory of the user and not the web directory. Like every ssh user, also a jailed sh user has a home directory were he can place private files.

    There shall be no symbolic link in that directory.

    The public website directory is /web when you logged in as jailed user.
  3. bkilinc

    bkilinc Member

    thank you for quick reply. I saw that, this is not an issue for the users created after jailkit upgrade. In previous ones I could not run 'ls' on root directory. Anyway, old ones are deleted and I created new users. Thanks again

Share This Page