View previous topic :: View next topic |
Author |
Message |
vladoportos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 May 2006 Posts: 22
|
Posted: Wed Jul 19, 2006 1:03 pm Post subject: Jailing user to his home dir ? |
|
|
Hi all,
I have a problem, how to jail a user to his home dir e.g. /home/testuser that he cant leave that directory ?
In real is that i using rssh for scp and sftp with chroot enviroment and no shell ( i did it like it says here http://gentoo-wiki.com/HOWTO_SFTP_Server_(chrooted,_without_shell) ) its forking fine... but i need that user cant see behind their own directories so they dont see how many users are there or names of users... and i dont wanna make chroot env for each one cause there is logging problem than...\
Anybody had similar problems ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Decibels Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11158278024af5f41017fbf.jpg)
Joined: 16 Aug 2002 Posts: 1630 Location: U.S.A.
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vladoportos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 May 2006 Posts: 22
|
Posted: Wed Jul 19, 2006 3:25 pm Post subject: |
|
|
Hi i allready red that links you gave me... its doesnt help at all... i have sftp running crooted but what i need is keep users in their folders and doing own chroot for every user is quit not it |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ats2 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Apr 2005 Posts: 297
|
Posted: Thu Aug 24, 2006 5:42 am Post subject: |
|
|
Hi, same problem here. I have followed the instructions but coudn't achieve to jail the user inhis /home, because every time I set the CHROOT option in rssh, it blocks all connections attempts. And if I don't set it, then the user can browse all directories... I guess there's a bug in rssh, or the directions are not correct... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|