[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-security] Re: ssh and chroot...



I did something similar with telnetd by hacking login to accept an option that specified a directory to chroot to and specifying it via telnetd "-L" option.  I suppose the same thing would work with ssh if you compiled with the "--with-login" option.  Let me know if you'd like the (admittedly trivial) patch for login.c.

Dave LaPorte
-----Original Message-----
From: Mike Bowie [mailto:mike goforgold com]
Sent: Wednesday, April 19, 2000 3:51 PM
To: linux-security redhat com
Subject: [linux-security] ssh and chroot...

I have a RedHat 6.0 x86 server which is serving a number of minor things, which I wish to add shell access to.
 
I'm currently running sshd and am quite happy with it, the exceptiong being that I am unable to make sshd perform a chroot for shell account users.
 
I have been reading man pages and howto's, many of which discuss sshd or chroot, but never the two together.
 
Is this not an option?  Or an I missing the point?
 
Mike.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]