I've already added /bin/sh as shell and also /etc/passwd like you can
see on my recursive ls from my first post.I will try /dev/log but I
was thinking it was maybe that scp need ssh client + lib but just
wanted to make sure since I want a chroot as small as possible.

Thanks

Le 4 avril 2012 18:45, Kevin Chadwick <ma1l1i...@yahoo.co.uk> a icrit :
> On Wed, 04 Apr 2012 18:08:37 -0400
> Michel Blais wrote:
>
>> I have create a chroot with scp and needed library for it but when I try
>> to copy a file with scp, I always get the error "unknown user UID" after
>> succefully entering the password. I can't find anything for this error
>> exept for Linux. There also nothing in authlog, only successful
>> connection messages.
>
> You probably need a shell and maybe a /etc/passwd and a few other
> things like /dev/log. If you use sftp instead of scp you shouldn't need
> either, nor a tty, allowing read only root too.

Reply via email to