View previous topic :: View next topic |
Author |
Message |
mamars n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2083529254424bcb3b59f8f.png)
Joined: 31 Mar 2005 Posts: 10
|
Posted: Tue Aug 23, 2005 10:36 am Post subject: Restrict Commands with rssh for sftp use |
|
|
Hallo!
I've set up a sftp server with rssh, also tried scponly but I think I keep with rssh.
My user based configuration with rssh to allow/disallow sftp,scp,cvs and so on and my chrooting works great. However, I am searching for a method to disallow commands like chmod inside the chroot jail. Is there someone who has an idea on this issue? I googled around but didn't find anything. Hope someone may help.
Greets
mamars |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MALON3 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush2.gif)
Joined: 16 Jan 2004 Posts: 87
|
Posted: Tue Aug 23, 2005 12:45 pm Post subject: |
|
|
U can use grsec for this.
With grsec u can enable a lot of chroot-jail restrictions how disable chmod, mknod and so on...
Look at the Gentoo Hardened Project for more informations
http://www.gentoo.org/proj/en/hardened/
gretting malon3 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mamars n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2083529254424bcb3b59f8f.png)
Joined: 31 Mar 2005 Posts: 10
|
Posted: Tue Aug 23, 2005 1:09 pm Post subject: |
|
|
Thank you... I will have a look at it. I'm already using the hardened-sources, just didn't start using grsecurity .
Although it is not the easy way I was hoping to find
Greets
mamars |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|