Help: Dynamically set host file per user rather than per host?

B

Brent

Hi Guru's,

We are trying to set up a Windows XP server and host through a screen
scraper (tarantella) so when a user logs in, we want to redirect a host entry
called "demohost" to a paired machine. We want to set the host entry using a
login script.

An example, we have 3 users, each logging in separately and concurrently.
If they go to the command prompt and type ping demohost, they should be
pointing to different IP addresses.

I know that there is one host file in the /etc/hosts directory, however, is
there a way to either set specific host entries as variables or have a
user/session variable to tell them to use a specific host file?

Thanks!
 
S

smlunatick

Hi Guru's,

We are trying to set up a Windows XP server and host through a screen
scraper (tarantella) so when a user logs in, we want to redirect a host entry
called "demohost" to a paired machine.  We want to set the host entry using a
login script.  

An example, we have 3 users, each logging in separately and concurrently. 
If they go to the command prompt and type ping demohost, they should be
pointing to different IP addresses.

I know that there is one host file in the /etc/hosts directory, however, is
there a way to either set specific host entries as variables or have a
user/session variable to tell them to use a specific host file?

Thanks!

There is no "/etc/hosts" in Windows. This is a Linux / Unix folder.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top