Re: patch to fix rssh_chroot_helper location
Brought to you by:
xystrus
From: Derek M. <co...@pi...> - 2004-05-25 20:54:27
|
On Mon, May 24, 2004 at 11:45:14PM -0700, rss...@as... wrote: > The source, by default in v2.2.0, installs the rssh_chroot_helper > in /usr/local/libexec/rssh_chroot_helper. However the pathname.h > file that is built by configure has PATH_CHROOT_HELPER hard coded > to /usr/local/bin/rssh_chroot_helper. Look again; it only does that if it isn't already defined. If you run configure appropriately, it will be defined... > It would be nice if pathname.h honored the --prefix config > convention. It does. But --prefix doesn't set the location of libexec files... I suggest you read the output of configure --help. Hint: you're looking for --exec-prefix. :) $ rpm -ql rssh /etc/rssh.conf /usr/bin/rssh /usr/libexec/rssh_chroot_helper [...] > The following patch will cause pathname.h to be built > with PATH_CHROOT_HELPER set under a libexec sub-directory. Thanks, but no thanks. If you run configure properly, it already does that. I think the issue here is that recent versions of autoconf/automake have changed the behavior of the configure script, and people are just not yet aware/accustomed to the change. Maybe I'll add this to the INSTALL file... On Mon, May 24, 2004 at 11:56:12PM -0700, rss...@as... wrote: > Consider the following line in /etc/rssh.conf: > > user = test:002:11111: Yes, I am aware of this problem, and in fact it's already fixed. I just need to re-release the code, which I will probably do this weekend. I've been really strapped for spare time lately. Real life intrudes... Check the website on Saturday for a release. Or look in the source and add the necessary 6 lines yourself... ;-) I'm not sure how I managed to release the code without them, but nobody's perfect... Sigh. Thanks for bringing these issues up, though. Free software works well because people work together to make it work well. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D |