change nsswitch.conf order for one application

From: Willi Burmeister (wib@informatik.uni-kiel.de)
Date: Mon Oct 27 2003 - 00:52:24 EST


Hi Sunmanagers,

in nsswitch.conf we can find the order for name services to use.
Now we need to change this order for one application only. Is
this possible?

I tried to play with LD_PRELOAD:

# LD_PRELOAD=/usr/lib/nss_dns.so.1 telnet <host only in files>
Trying xxx.xxx.xxx.xxx...

but without luck.

Any help appreciated.

Thanks

Willi

-- 
Willi Burmeister,  Department of Computer Science, Kiel University
Tel: +49 431 880 7285     S-Mail: Olshausenstrasse 40, D 24098 Kiel
Fax: +49 431 880 7618     E-mail: wib@informatik.uni-kiel.de
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:21 EDT