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

Re: SSH Chroot Patch - Anyone successfully using it?



On Thu, Oct 21, 2004 at 08:29:50PM +1000, Michael Bellears wrote:
> Asked on the chrootssh-users list, but it appears fairly inactive...
> 
> Patched SSH3.8.1p1-8(Debian Sarge) with osshChroot-3.8.1p1.diff.
>  
>  Standard {chroot}/etc/passwd (i.e. no "/./") works fine.
>  
>  Adding "/./" to user results in login failure: 


>  My chroot Jail is /var/chroot/apache (I have tried placing
> /var/chroot/apache/var/www/./mbellears3 in /var/chroot/apache/etc/passwd
> without success also.

Michael,

I might be reading your email wrong. The /var/chroot/apache/etc/passwd is
not what matters. What does matter is the standard /etc/passwd.

So, try adding something like this:

mbellears:x:1001:1001:Chrooted user:/var/chroot/apache/./home/mbellears:/bin/bash

-- 
Danie Roux *shuffle* Adore Unix




Reply to: