View previous topic :: View next topic |
Author |
Message |
mamars n00b
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 |
|
|
MALON3 Tux's lil' helper
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 |
|
|
mamars n00b
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 |
|
|
|