Running two different profiles based on user loggin

Spencer Bailey
Fri Oct 12 10:56:00 GMT 2007


I've created two different profiles in /etc. profile.1 and profile.2
which both contain different aliases etc. Based on the user logging in
I want to be able to run the correct profile.

Is it possible to put in a check in the /etc/profile that is a certain
user logs in to run the profile. Like...

---check for user "fred". If equal to fred
. /etc/profile.1


. /etc/profile.2

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list