reagrding REXEC command

Hi UNIX gurus.....
have a doubt..can i run a script in a remote machine by using something like
rexec add.corp.afg.com /aa/ss/remtescript

I dont want to use the rsh command due to some security issues.

thanx,
rahul26 :slight_smile:

'man rexec' on my system contains this interesting note:

BUGS
     The rexec() function sends the unencrypted password across the network.

     The underlying service is considered a big security hole and therefore
     not enabled on many sites, see rexecd(8) for explanations.

if you think rsh is bad, this has to be worse.

Can you use ssh?