View Single Post
Old 06-22-2002, 11:44 PM   #7 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,721
redhead is on a distinguished road
Quote:
Originally posted by mmilano
ok, i found a patch, but how do i install it?
here is a link to the patch:
http://www.cag.lcs.mit.edu/~raoul/op...1-chroot.patch

but what the heck do i do with the patch?
Download it, get the source for your openssh, untar/gz it, enter the openssh-3.1p1 dir that emerges and issue the command:
patch -p1 < /the/downloadet/openssh-3.1p1-chroot.patch

Make sure, its the openssh-3.1p1 version you use it on, since theres allready a 3.3p1 version, but this patch was orriginaly made to 3.1p1.
Then just use your regular:
./configure --with-chroot && make && make install

Restart your sshd, and you can now use chrooted $HOME via ssh.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote