We are using NIS and Automount for *nix developing hosts. So I can login any host with the same identity and same home directory.
I hope to set different environment variables when login different hosts. For example, I want to set the LD_LIBRARY_PATH with some value when login the solaris host. However I don't set it when login the linux host.
How should I do?