Jani
04-20-2002, 10:43 AM
Hi,
I'm setting up a few chrooted shell accounts on my Debian Woody box, for my friends, using SSH's ChRootGroups. Now, I'd have a few questions regarding this.
1) Where can I find info on how to statically compile programs? Like wget, the readme says nothing about this, and I can't find any other info about this either... which actually leads me to question two.
2) Is there any security risk involved in placing libraries inside the chroot (for those programs that can't/won't be statically linked)?
3) I want to offer my users access to a mysql database. Can each chrooted user run a own process of mysql (provided that mysql is compiled inside the chroot, of course)?
TIA.
I'm setting up a few chrooted shell accounts on my Debian Woody box, for my friends, using SSH's ChRootGroups. Now, I'd have a few questions regarding this.
1) Where can I find info on how to statically compile programs? Like wget, the readme says nothing about this, and I can't find any other info about this either... which actually leads me to question two.
2) Is there any security risk involved in placing libraries inside the chroot (for those programs that can't/won't be statically linked)?
3) I want to offer my users access to a mysql database. Can each chrooted user run a own process of mysql (provided that mysql is compiled inside the chroot, of course)?
TIA.