[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Creating User environment variables.



dlangschied wrote:
I think you are misunderstanding me.  I have a number of environment
variables that I want to pass onto the user at login.  I should be able to
do so by modifying a file (like .profile) that is launched when the user
logs in.  I tried to vi /bin/bash and it was not possible.  THerefore, I am
trying to find out where this is done.  I am sure that others are doing
this.

Put a file in /etc/profile.d/. Note the naming convention: csh style shells source the .csh files; bourne style shells source the .sh files.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]