On Tue, May 6, 2014 at 11:37 AM, hari prasadh <[email protected]> wrote: > Hi All, > > When i set environmental variable in /home/jboss/.etc_profile > > HOST="hari" > URL="http://localhost" > export HOST > export URL > > source .bash_profile.the environmental variable is set as long as logout > from the system.when i login again the environmental variable is not > set.Again i need to do source .bash_profile. > how to do this permanently.
Have you set this in ~/.bash_profile or ~/.etc_profile and sourced it from ~/.bash profile? How are you logging in as jboss user? What are the permissions of the ~/.etc_profile file? _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
