sftp-server No user found for uid x
Brought to you by:
xystrus
From:
<ro...@al...> - 2007-06-27 09:00:26
|
Hi! Now it is for days trying to have rssh with chroot. I read all the =20 mail posts, forums, faq-s, but I still have a (not exactly rssh) problem. It is about sftp-server in the jail. I am trying it on fedora 5. My problem is that sftp-server couldn't find the user: Jun 26 20:39:39 elod rssh[5728]: allowing sftp to all users Jun 26 20:39:39 elod rssh[5728]: setting umask to 022 Jun 26 20:39:39 elod rssh[5728]: chrooting all users to /www/chroot Jun 26 20:39:39 elod rssh[5728]: chroot cmd line: =20 /usr/local/libexec/rssh_chroot_helper 2 "/usr/local/openssh/libexec/sftp-server" Jun 26 18:39:39 elod rssh_chroot_helper[5728]: new session for myuser, =20 UID=3D6653 Jun 26 18:39:39 elod rssh_chroot_helper[5728]: user's home dir is /home/myus= er Jun 26 18:39:39 elod rssh_chroot_helper[5728]: couldn't find =20 /home/myuser in chroot jail Jun 26 18:39:39 elod rssh_chroot_helper[5728]: chrooted to /www/chroot Jun 26 18:39:39 elod rssh_chroot_helper[5728]: changing working =20 directory to / (inside jail) Jun 26 18:39:39 elod sftp-server[5728]: fatal: No user found for uid 6653 with scp, it says: unknown user 6653 I have the /etc/passwd, /etc/group in the jail. Without chroot, it works. I ldd-d the files, copied all the required files to jail, created =20 /jail/dev/null etc... but still no luck ... Could someone help me out? Thanx Roti |