Discussion Locked

Urgent!!!---Env Vars set on logon

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a Unix server and many NT client(NT workstations). I use PC NetLink to perform the admin tasks.

I need some environment variables set when a user login to the server. These variables are used on the client side, both by NT client and some scripts. Some of the environment vars include the port number, the server's name.

For security reason, I'd like the env. vars to be located on the server side, something similar to a NT login script. Every time a user logs in to the server, the environment variables will be set for this user.

I wonder how I could achieve this purpose?

Thanks.

7 replies

by beermonster

Hi,
Have a look in the windows reskit for setx.exe, which I believe does what you need. If you have a problem finding it, mail me at darthurs@hotmail.com

Hope it goes ok...

by draegor

Also as an add-on to answer #2 , if your users are using the C Shell, edit their .cshrc file in their home directory.

This discussion is closed to new replies.