[wplug] hosts on sunOS 5.8

Edward Walter ewalter at walterama.com
Wed Jun 29 17:12:41 EDT 2005


You could try running your application in a chroot jail and create a
custom /etc/hosts within the jail.

-Ed

> You could also compile a custom resolver library to use your own hosts
> file, and then make sure the application uses your library instead of
> the system's.  SunOS 5.8 is so old I doubt it rolls the resolver into
> libc, it's probably a stand alone libresolv.  It's easy enough to tell
> by doing an 'ldd' on the application.
>
> Brandon Poyner
> Network Engineer III
> CCAC - College Office
> 412-237-3086
>
>
>
>> -----Original Message-----
>> From: wplug-bounces+bpoyner=ccac.edu at wplug.org
>> [mailto:wplug-bounces+bpoyner=ccac.edu at wplug.org] On Behalf
>> Of Drew from Zhrodague
>> Sent: Wednesday, June 29, 2005 4:07 PM
>> To: Mike; General user list
>> Subject: Re: [wplug] hosts on sunOS 5.8
>>
>> > Is there any way to add to the hosts file (even
>> temporarily) without root
>> > access?
>> > We've got this sun box at work with a bunch of propritery
>> software on it,
>> > and one of
>> > the pieces won't take an ip address in one field without
>> being able to
>> > resolve its hostname.
>>
>>
>>  	You could use DNS to "lie" to the machine about hostnames. Hope
>> you have access to DNS!
>> _______________________________________________
>> wplug mailing list
>> wplug at wplug.org
>> http://www.wplug.org/mailman/listinfo/wplug
>>
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
>




More information about the wplug mailing list