AIX Host Trust Relationship Configuration

Source: Internet
Author: User
Tags domain name server

1. When configuring the host trust relationship, you need to add the IP of the host to be trusted in the two host/etc/hosts files, assuming there are 2 hosts (192.168.8.190 aix190,192.168.8.191 aix191), the 191 host configuration is as follows

192.168.8.190 aix190


2. If the system is configured with DNS, you need to go to the/etc/resolv.conf file to view the resolution server, and check that the domain name server is working properly, if it is not working, you need to delete/etc/resolv.conf this file


3. Create a new user with the same user name on the host on which you want to configure the trust relationship (tentative test)


4. In 191 of the host/ETC/HOSTS.EQUIV file configured to trust the host information, and/ETC/HOSTS.EQUIV file permissions must be 600, otherwise you will be prompted "Permission denied"

In the/etc/hosts.equiv file, the host level trust is configured, theroot user will also be denied (AIX default policy), need to configure $home/.rhosts to be able to password-free login

Format:

aix190 Test--trust aix190 user test on this console

Format Description:
aix190--trust aix190 this console
+--Trust all users on all hosts
aix190 +--trust aix190 All users on this host
+ Test--trust the user test on all hosts
-aix190--Refuse to aix191 this host
Aix190-test--Deny aix191 user test on this console


5. Under the test user's host directory, configure the following information in the file $home/.rhosts (the recommended file permission is 600)

Format:

aix190 Test--trust aix190 user test on this console

Format Description:
aix190--trust aix190 this console
+--Trust all users on all hosts
aix190 +--trust aix190 All users on this host
+ Test--trust the user test on all hosts
-aix190--Refuse to aix191 this host
Aix190-test--Deny aix191 user test on this console


6. Make the same configuration process on another host (aix190).

7. You can use the following command to test

RSH aix190 Date

If the system date is returned, the configuration succeeds.


AIX Host Trust Relationship Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.