Xmanager Forum

how to limit some hosts to log in my aix server from PC

Last post: Thursday, March 20, 2003 10:29 PM by li8848li, 2 reply

 
Thursday, March 20, 2003 2:00 PM - li8848li

how to limit some hosts to log in my aix server from PC

 
I use xdmcp to connect my aix server.Now i want to limit some hosts to login my server.For example i only want from 192.168.1.1 to
192.168.1.48 to login my server. how can i restrict others and let these ip to login my server? Thanks.
Thursday, March 20, 2003 4:59 PM - Support

Re: how to limit some hosts to log in my aix server from PC

 
You can control host access by editing /usr/dt/config/Xaccess.
Please do the following steps:

1. Open /usr/dt/config/Xaccess.
2. Comment out the following line.

#* # grant service to all remote displays

3. Add the IP addresses you would like to allow access.

192.168.1.10
192.168.1.11
...

4. Restart dtlogin process or reboot AIX.

# kill -1 dtlogin_pid

For more information on Xaccess, read the comments in the file.

----
Technical Support
Thursday, March 20, 2003 10:29 PM - li8848li

Re: Re: how to limit some hosts to log in my aix server from PC

 
Thank you very much.The problem is solved.Thanks again!!!