On 2012-04-04, Kevin Chadwick <ma1l1i...@yahoo.co.uk> wrote:
> 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.

Probably need at least pwd.db (and passwd is probably not necessary).
ktrace should tell you more.

> 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.

This is obviously the client not the server. The sftp client needs
more than scp (termcap etc).

Reply via email to