![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 04:19 AM |
| ftp issue | ravi raj kumar | Shell Programming and Scripting | 5 | 02-06-2008 05:24 AM |
| awk issue on AIX | ranj@chn | Shell Programming and Scripting | 1 | 07-04-2007 03:22 AM |
| FTP issue | u263066 | Shell Programming and Scripting | 1 | 07-28-2006 03:18 AM |
| FTP Issue, Help please | moe2266 | UNIX for Dummies Questions & Answers | 0 | 01-17-2006 07:54 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi frnz,
I am facing an odd issue with rsh. I am trying to rsh to a destination workstation from my workstation. The .rhosts file in the destination is having my hostname. but when i do rsh i am prompted for the password every time. I have added my hostname in host.equiv file also in the destination. Could any body tell me what i need to look into. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Quote:
Code:
<hostname> <username> |
|
#3
|
|||
|
|||
|
When you refer to .rhosts do you mean $HOME/.rhosts?
Is the hostname resolveable on the target machine? |
|
#4
|
|||
|
|||
|
In such cases I go with this practice. If I have to rsh w/o a password from nodeA to nodeB,
a) Login to nodeA traceroute nodeB It will say "Source should be xx.xx.xx.xx" make a note of that ip address b) Logon to nodeA host xx.xx.xx.xx if it returns a host name, then use that hostname in the .rhosts file of nodeB. If it does not return a hostname, then you will need to either enter the ip address OR add a hosts entry either through a hosts file, DNS or NIS. You need not enter the username in .rhosts to make it work , just the host name should be enough. Regards, Kaps |
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
|||
|
|||
|
For security purposes, you should look into using ssh instead of rsh. Anyone could log on to your network and spoof the name of the "trusted" host and then have access to your system without being prompted for a password. We just had an audit done against us and we were dinged for this. No more rsh for us.
|
|||
| Google The UNIX and Linux Forums |