Re: ChrootDirectory on a per key basis
On Fri, 24 Oct 2008, Peter Stuge wrote:
> Teemu Ikonen wrote:
> > or even better, could a 'chrootdir' option be added to the
> > Authorized keys format?[/color]
> Yes. I think this will be the easiest to implement. Give it a shot.
> Infrastructure is in place also for passing a value from options in
No, letting users chroot to arbitrary directories introduces
serious security problems. Think about hard-linking /bin/su into
a chroot on the same filesystem where an attacker has filled in
a friendly /etc/passwd.
openssh-unix-dev mailing list