On Saturday 01 June 2002 12:10 am, Maya wrote: > Thank you for the prompt reply. > > Actually what I'd like to know is the following: If '.bashrc' and > '.profile' are responsible for setting the individual users variables and > '/etc/profile' the global variables, why is it that if I set variables only > in the '/etc/profile', thus making them global, they are not viewed by the > system. > > Let me explain. As far as I understand each individual user can add or > remove variables in their own '.bashrc' and that will only affect their own > individual accounts, right? But on the other hand, if I, the super user, > add or remove a variable in the '/etc/profile' all the users in the system > will be affected by it, right? > > Well, following this principal I have added the lines in the '/etc/profile' > that were suggested by the INSTALL file that comes with Qt, but still they > are not recognized by any other user accounts? > > Could you please explain to me what I am doing wrong or if I had forgotten > something?
add the following to /ect/profile export MY_VARIABLE=bla1 then log in as user. And I mean _log in_, don't just open a window shell. Do env | grep MY_VARIABLE if it doesn't show MY_VARIABLE=bla1 then you do indeed have a problem Oleg P.S. Make sure you are using bash using `echo $SHELL` -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]