Article ID: 4170, created on Mar 24, 2008, last review on Apr 17, 2012

  • Applies to:
  • Sphera

Symptoms

What file can I use for things to be done when I login to a VDS (like setting the ENV variables etc)?

Resolution

Usually in BASH you would edit .bashrc file.

Because of the fact that VDS is a chrooted environment, That would not work.

In order to get .bashrc functionality, you can create and edit a .profile file under the VDS_base which would provide you with similar functionality.

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF