bugzilla-daemon at natsu.mindrot.org
2013-Oct-24 00:12 UTC
[Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
https://bugzilla.mindrot.org/show_bug.cgi?id=1235 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #7 from Damien Miller <djm at mindrot.org> --- (In reply to donkishoot from comment #5)> 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.We added "internal-sftp" to make sftp in chroot easier. See sshd_config's manpage and search for "internal-sftp". -- 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.
bugzilla-daemon at natsu.mindrot.org
2013-Oct-24 06:58 UTC
[Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
https://bugzilla.mindrot.org/show_bug.cgi?id=1235 donkishoot at wanadoo.fr changed: What |Removed |Added ---------------------------------------------------------------------------- CC|donkishoot at wanadoo.fr | -- 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.
Maybe Matching Threads
- [Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
- [Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
- [Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
- [Bug 1235] [PATCH] scp does unnecessary getpwuid(), breaking chroot
- [Bug 1755] New: Broken pipe with scponly with debuglevel