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.