Re: Rebuilding OpenSSH on RedHat 7.3
From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 03/12/04
- Previous message: Nico Kadel-Garcia: "Re: Rebuilding OpenSSH on RedHat 7.3"
- In reply to: Darren Tucker: "Re: Rebuilding OpenSSH on RedHat 7.3"
- Next in thread: Grant: "Re: Rebuilding OpenSSH on RedHat 7.3"
- Reply: Grant: "Re: Rebuilding OpenSSH on RedHat 7.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 12 Mar 2004 08:54:03 -0500
"Darren Tucker" <dtucker@dodgy.net.au> wrote in message
news:c2r5aq$h9q$1@gate.dodgy.net.au...
> In article <c2r41m$phb$1@news2.symantec.com>, Grant <gpg86@hotmail.com>
wrote:
> >I've fixed it :) Apparently the "make install" target doesn't replace
sshd
> >with the newly built binary. Manually replacing it did the trick :)
>
> It does, but by default OpenSSH puts its binaries in /usr/local/{bin,sbin}
> and most vendors (including Redhat) put their binaries in /usr/(bin,sbin}.
Uh-oh. If he compiled for --prefix=/usr/local (the default) and did a "make
install" and installed one binary in /usr/sbin/sshd (where RedHat puts the
binaries), he can wind up with a world of hurt later as the SSH binaries (in
/usr/bin, etc.) wind up confusing things with the binaries in
/usr/local/bin, depending on how his PATH is set.
Grant? If you've got to update an RPM installed package, please actually
update the SRPM and build from that. It's not that hard to do, and it does a
bunch of things like flushing away your old binaries and documentation and
replacing them with the new stuff that you'll find useful down the road.
Also, the default location of your sshd_config files and private keys is
different under RedHat (in /etc/ssh/sshd_config) than it is under the
default OpenSSH installation. (/etc/sshd_config, I think?) So you may wind
up with some real configuration surprises if you're not careful. And the
"make install" in the tarbal doesn't set up init scripts for you, or know
enough to restart the daemon with the new sshd binary.
- Previous message: Nico Kadel-Garcia: "Re: Rebuilding OpenSSH on RedHat 7.3"
- In reply to: Darren Tucker: "Re: Rebuilding OpenSSH on RedHat 7.3"
- Next in thread: Grant: "Re: Rebuilding OpenSSH on RedHat 7.3"
- Reply: Grant: "Re: Rebuilding OpenSSH on RedHat 7.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|