I have two Solaris servers on a cluster. I have created the same user "X"on the two nodes (same UID and same GID). The file ".profile" of this user "X" is located in a filesystem that is seen by the two nodes.
Each server should have a ".profile" of this user different of the other server.
I want to create a ".profile" that detect from what server the user "X" isconnected and then execute the right ".profile".
Thanks for your answer. Just one question: when the user connect to the server, it's the file ".profile" that will be executed and not ".profile.server1" or ".profile.server2" ?