Debian install error

Discussion in 'Installation/Configuration' started by jf1976, Jan 16, 2006.

  1. jf1976

    jf1976 New Member

    getting there at last!

    im getting on top of this now and i've started to consider security a bit more after finding that i can see / so im reading up on Chrooted SSH HowTo http://www.howtoforge.com/book/print/929 and this part
    says users will get a shell at /home/chroot but i would like them to get the /var/www/DOMAIN that is theres ? how would i do that ? thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Change the paths in the steps described in chapter 3 from /home/chroot to /var/www/web[ID] Where [ID] is the ID of the website.
     
  3. jf1976

    jf1976 New Member

    can i somehow script this function

    can i somehow script this function ispconfig as i would like the system to do this to all users created?

    thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have a look at the function user_insert(...) in the file /root/ispconfig/scripts/lib/config.lib.php
     
  5. jf1976

    jf1976 New Member

    think i found it!

    well i got the file had a look inside and found the function! had a read and think i've found the first part?

    so im guessing i need to put the addition round about here ? with something like a call to this http://mail.incredimail.com/howto/openssh/create_chroot_env script with some of the vars in the config.lib.php
     
    Last edited: Jan 19, 2006
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, thats the right position for your code.
     

Share This Page