user permissions on homedir

Discussion in 'Installation/Configuration' started by somnium, Nov 2, 2005.

  1. somnium

    somnium New Member

    hi @all,

    i want to jail one user to his homedir (/home/www/webXX). i only found howtos for chroot, but i don't know if its possible with ispconfig. so, someone told me just to revoke the permissions on "..". i failed :-/

    how can i set up his directory, so that he is able to log in with ssh but not to read the other directories??

    (sorry for my bad english :) )



    thx for help!!!
     
  2. falko

    falko Super Moderator Howtoforge Staff

    This is only possible with a patched SSH daemon, i.e., you'd have to recompile SSH... :(
     
  3. somnium

    somnium New Member

    have you got an link to documentation?


    i tried to change the permissions of the homedirs, but apache failed to read the content... :(
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This is the site of the SSH chroot patch.

    http://chrootssh.sourceforge.net/index.php

    You have to put a /./ in the path to the homedir of the user to chroot it. It is described in the documentation of the patch.
     
  5. somnium

    somnium New Member

    thx for help, it runs ;-)
     

Share This Page