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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsh problem...help!

Status
Not open for further replies.

noober

IS-IT--Management
Oct 10, 2003
112
US
Hello all,
I am having a problem when I try to use rsh like so:
rsh testdev mv file1 file1.`date +%m%d%H%M`

I get error message:
"rcmd2: socket: The file access permissions do not allow the specified action."

Some folks I work with swear that this has always worked in the past and it does work with ROOT. Also, the user account that its failing with has full on permissions to the file. I have tried entries in .rhosts and hosts.equiv but no luck.

Anyone have any ideas? I am listening to IBM supports onhold musac right now, so I wonder who will give me some good suggestions first!
-thanks in advance
 
Just tried this on my system. I got a permission denied at first, but this was due to the .rhosts file having the wrong permissions. Once I fixed (file should be set 600), the above cmd worked with no problems.
 
Although I do not know exactly what they (being permissions) should be, the same is true for the actual /usr/bin/rsh object. If permissions are to permiscuous, rsh will fail for all except root.

IBM saves us from ourselvse!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top