Re: Rsh for diagnostics? Has anyone changed this?
Horms <[email protected]>
| Newsgroups | gmane.linux.failsafe |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 30, 2002 at 10:05:31PM +0200, Peter wrote: > Kashif Shaikh writes: > > Hello again everyone, > > hello, > > > > > The perl-script diagnostics(in /usr/lib/failsafe/diags) need to use > > rsh...this doesn't make sense as you don't want something to be "Highly > > Available" to also be "Highly Insecure":) > > > > So, has anyone changed the scripts to use ssh instead? I'm pretty sure > > someone out here has changed this(or has ignored the diags altogether). > > If so, can you please post your diffs? > > > > I don't think that there is any need to change the scripts, since > ssh, scp and slogin are replacements for the "r"-commands. By > installing ssh the accordings "r"-commands are just symbolic links to > the appropiate "s"-replacements. So when the diag-scripts call > rcp, they really call scp. > /usr/bin/rcp -> /usr/bin/scp > /usr/bin/rsh -> /usr/bin/ssh > /usr/bin/rlogin -> /usr/bin/slogin While it is true that ssh and friends are replacements for rsh and freinds, it is often the case that a system needs to have both sets of commands installed for one reason or another. I think there would be a value in specifying which set of commands to use, rather than relying on symlinks. -- Horms