Friday, June 5, 2009

Understanding Login Sequence

Taken from Application Environment Setup Using /etc/profile.d/*

When a user login, the environment variables are set following the below order

  1. /etc/profile (for all users)
  2. /etc/profile.d (Application specific setup)
  3. ~/.bash_profile
  4. ~/.bashrc

For further information, read Login Sequence

No comments: