|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
TCP/IP name resolution
We have 2 Unix boxes.
AIX 4.3 RS/6000 Linux RedHat 6.1 Intel There is a name server running on the linux machine. This is not used on the AIX machine ( it simply uses /etc/hosts ). Now i have rsh permission denied problems and i suspect our AIX and tcp/ip name resolution. I was told to login from the client to the server and run "last | head" to see what hostname the server is seeing. First case: from LINUX to AIX ( rsh from linux to AIX works fine ) /bunolleken/users/joeri> last | head joeri pts/20 linuxnol May 07 10:48 still logged in. Hostname is "linuxnol". I have put this in /etc/hosts.equiv. everything OK Second case: from AIX to LINUX ( rsh gives permission denied ) ( last -a | head ) joeri pts/2 Tue May 7 10:51 still logged in ibm250.nollekens.be.220.4.125.in-addr.arpa Hostname is "ibm250.nollekens.be.220.4.125.in-addr.arpa". Weird name. It should simply be "ibm250" Like i said. There i NO nameserver active on the AIX. simply hosts file. This is comming from our AIX, right? But from where? Joeri |
| Sponsored Links | ||
|
|
|
|||
|
a- Add the IP, host_name and aliases in the /etc/hosts in both machines.
In the AIX machine if [ ! f /etc/netsvc.conf ] then echo "hosts=local,bind" > /etc/netsvc.conf else echo "review the hosts definitions in the /etc/netsvc.conf" echo "hosts=local,bind" fi In the linux machine: in the /etc/nsswitch.conf hosts: files dns b- Add the .rhosts in the home directory of the user in both machines: example for root: linux box: echo "server_aix root" >> $HOME/.rhosts aix box: echo "server_linux root" >> $HOME/.rhosts c- Permit the root login in both machines linux box: Add the apropiate entry in the /etc/securetty aix box: chuser login=true rlogin=true root Good luck. Hugo. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DNS name resolution | e250user | Solaris | 1 | 07-25-2006 12:13 PM |
| Monitor Resolution | nikk | UNIX for Advanced & Expert Users | 1 | 08-01-2003 12:26 PM |
| Monitor Resolution | AreaMan | UNIX for Advanced & Expert Users | 2 | 05-25-2002 05:54 PM |
| AIX hostname ( see also TCP/IP name resolution ) | progressdll | UNIX for Advanced & Expert Users | 4 | 05-07-2002 12:32 PM |
| Resolution..?? | Linux_fan | UNIX Desktop for Dummies Questions & Answers | 3 | 03-06-2002 11:33 AM |