LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   need to share /etc/hosts (https://www.linuxquestions.org/questions/linux-server-73/need-to-share-etc-hosts-640819/)

shan_nathan 05-08-2008 09:38 AM

need to share /etc/hosts
 
Dear all,

I need to share /etc/hosts file between 20 linux box's . I thing nis is the best option, Can someone tell me how to confgiure nis for this or whether there is any someother option?
Pls help me in this case

Thanks in advance
Shan

TB0ne 05-08-2008 10:02 AM

Read the docs here:

http://www.linux-nis.org/

Hard to give you any more...you don't say what distribution you're using, what version, or anything about your environment.

megerdin 05-08-2008 10:10 AM

try this

http://www.linux-nis.org/nis-howto/HOWTO/

http://baheyeldin.com/linux/how-to-s...x-network.html

Micro420 05-08-2008 11:26 AM

You can also look at DNS. Or, you can create a simple SSH script with generated keys on the machines that automatically copy your main /etc/host to the other machines. Just execute the script whenever you make changes to your /etc/hosts file. Or you can hire an assistant to manually go to X computers and make the changes by hand (just kidding).


All times are GMT -5. The time now is 05:25 AM.