Hi!

   Now it is for days trying to have rssh with chroot. I read all the  
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:  
/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,  
UID=6653
Jun 26 18:39:39 elod rssh_chroot_helper[5728]: user's home dir is /home/myuser
Jun 26 18:39:39 elod rssh_chroot_helper[5728]: couldn't find  
/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  
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  
/jail/dev/null etc... but still no luck ...

Could someone help me out?

Thanx


Roti


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to