Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsh problem

Status
Not open for further replies.

Janghyegyung

Technical User
Aug 20, 2001
42
KR
When I tried like this

#rsh server_name date

I got this message

rcmd: socket: Permission denied

What problem?
 
Hi,

have you already configured your machine for rsh ?

If not then it's important to know, whether you are trying rsh from another AIX machine or from a Windows machine...

If you're on a Windows machine you cannot execute rsh with root permissions. So you'll have to configure it for a normal user....

There's also a syntax error. The correct syntax would be like that:

rsh 10.20.3.1 -l simon "date"

this would execute the command "date" on the machine 10.20.3.1 under user simon. If you're on an AIX machine you can replace simon with root, but first you'll have to configure the whole thing to allow rsh access...

If you need information on how to configure rsh on your AIX machine (it's quite easy) just say so ...

Regards
Thomas
 
For this to work, you must set up the .rhost of the destination for the user with the address of the caller and set the file with chmod 600 or 640.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top