Re: [Chrootssh-users] chroot not doing anything
Brought to you by:
punkball
From: James D. <jd...@la...> - 2003-03-28 16:52:17
|
Can you explain a little more? If it is applying the patch, and everything is installed correctly, you should be able to test this by placing a '.' in the user's home directory entry in /etc/passwd. If you haven't built the chroot but want to test if the patch is working, try logging in, you will be rejected right away with a '.' in place and you will log in fine without it. -James jb...@in... wrote: > I am using gentoo 1.4 and I had edited my openssh 3.5 ebuild file to apply > the chroot patch. When I emerge it, it does apply the patch sucessfully > but sshd doesn't seam to chroot to the home dir at all. Any ideas? > > Here is the output from my emerge so I know its being patched. > >>>>md5 ;-) openssh-3.5p1.tar.gz >>>>md5 ;-) osshChroot-3.5.diff >>>>Unpacking source... >>>>Unpacking openssh-3.5p1.tar.gz to /var/tmp/portage/openssh-3.5_p1-r1/work >>>>Unpacking osshChroot-3.5.diff to /var/tmp/portage/openssh-3.5_p1-r1/work > > unpack osshChroot-3.5.diff: file format not recognized. Ignoring. > * Applying osshChroot-3.5.diff... > [ ok ]>>> Source unpacked. > > epatch ${DISTDIR}/osshChroot-3.5.diff || die > That is the line I used to do the patch so if it wasn't patching, it > should die there. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Chrootssh-users mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chrootssh-users > -- James Dennis Harvard Law School "Not everything that counts can be counted, and not everything that can be counted counts." |