Rsh for diagnostics? Has anyone changed this?

Peter <[email protected]>
Newsgroups gmane.linux.failsafe
Message-ID <[email protected]>
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

Greetings,

	Peter

-- 
Peter Kruse <[email protected]>
Q-Leap Networks GmbH
+497071-703171
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.