cancel
Showing results for 
Search instead for 
Did you mean: 

Impact on changing mode of /etc/hosts to 600(rw-------)

jong-kil_park
Employee
Employee
0 Kudos

Hi all,

I have a customer who asked us the imapct on changing mode of /etc/hosts to 600(rw-------) to an IQ server.

They have to change the mode as above due to a guideline from Government.

Is it ok with an IQ server if we change hostname in all scripts, such as .odbc.ini, to ip address for the machine where the IQ server is running ?

1. Would you please let me know what kind of impacts would be expected if the customer change the mode of the /etc/hosts file ?

2. Are there any points we should consider ?

Any replies would be highly appreciated.

Regards.

Jerry

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

As long as gethostbyaddr() and gethostbyname() retrieve valid information for the local addresses, then you should be fine.  IQ does not parse /etc/hosts directly.

see the man pages of gethostbyaddr and gethostbyname for more details on how name/ip resolution occurs.

jason

Answers (0)