I can confirm this bug under Ubuntu 10.10. Before I copied libnss_files from /lib to the $chroot/lib, scp and sftp would not work. Please to produce an updated package, as this is highly annoying and has been reported a long time ago. I'd produce an updated package in a whim but wonder who would trust it ....
So for all those who want to use scponlyc and get the following error: "user xyz not found" with xyz being the user ID of the chroot user, do the following under Ubuntu 10.10: sudo cp /lib/libnss_files-2.12.1.so $chroot/lib cd $chroot/lib sudo ln -s libnss_files-2.12.1.so libnss_files.so.2 with $chroot set to your chroot root directory. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/620019 Title: setup_chroot.sh does not copy file /lib/libnss_files.so.2 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs