On Tue, Aug 29, 2000 at 11:02:09AM +0000, Alexander Koch wrote:
> Hi.
> 
> Does anyone of you have a howto or some hints on setting up
> a chrooted "ssh-in-a-box" on debian system?

i tinkered with this once and got it sorta working, it involved using
a pam module called pam_chroot that is floating around (i don't
remember where sorry, try searching for it, if you fail mail me
privately and i can send you the source tarball)  

just adding the pam_module was not really enough to make it really
work, i also had to mount a second copy of devpts in the chroot jail,
some libraries, it was a pain, and i had alot of problems making it
all work right (and it was exceedingly ugly too) so i ended up doing
what i wanted differently.  which was write a couple wrapper scripts
and use rbash.  all the user is allowed to do is scp files from thier
~/ and use ls inside the ~/.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpkgWjVgMtXg.pgp
Description: PGP signature

Reply via email to