SUMMARY: rcmd socket error

From: Michael Lightfoot (mlightfoot@lincom-asg.com)
Date: Mon Jun 12 2000 - 13:44:16 CDT


The solution was that the permissions for /bin/rsh had been whacked.
The overwhelming suggestion, however, was to switch to ssh and quit
using r commands altogether. I'll look into that shortly.

Thanks to all who responded.

-Michael

> Sun Managers,
>
> I recently "tightened the screws" on security, and inadvertently shot
> myself in the foot. I had a small script that executed an rsh command
> to a remote machine. This script worked fine before the adjustments,
> but gives the following error now:
>
> rcmd: socket: Permission denied.
>
> The content of the script follows.
>
> #!/bin/ksh
> /usr/openwin/bin/xhost remotehost;
> rsh remotehost "DISPLAY=myhost:0 ; export DISPLAY ; /usr/bin/nwadmin"
>
> Does anyone know what change I made that no longer allows this script
> to run? Your help is appreciated. I'll summarize upon completion.
>
> Thanks,
>
> Michael Lightfoot
>
> --
> --------------------------------
> Michael A. Lightfoot
> Unix Systems Administrator
> LinCom Corporation
> Johnson Space Center
> email: mlightfoot@lincom-asg.com
> phone: 281-483-3338
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:09 CDT