[Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Jun 24 23:41:21 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1235


donkishoot at wanadoo.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |donkishoot at wanadoo.fr




--- Comment #5 from donkishoot at wanadoo.fr  2009-06-24 23:41:20 ---
I have a bug that i think is similar.

I'm trying to make a jail for winbind sftp users who must have an only
sftp service (no shell).

This is the error i found when debugging (i replace scponlyc by bash
for the test):

ssh usersftp1 at 192.168.2.1
bash-4.0$ chroot .
bash-4.0$ ./usr/libexec/openssh/sftp-server
No user found for uid 10653

Is their a workaround ?

I had no problem with this solution on an old Fedora.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list