Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!think.com!linus!nixbur!nixpbe!peun33!liesert From: liesert@nixdorf.de (Liesert) Newsgroups: comp.unix.aix Subject: Environment in AIX 2.2.1 Summary: Strange handling of shell variables in aix Keywords: Shell variables, environment Message-ID: Date: 15 Nov 90 12:14:55 GMT Sender: news@nixpbe.nixdorf.de Lines: 24 Hi out there, recently I saw something strange on a IBM 6151-115 running AIX 2.2.1. After installing the aix system, I wanted to change the value of the shell variable TZ (yes, it's in Germany!). No problem, I thought, and edited the /etc/environment like this: TZ=MEZ-1MSZ # Middle-european time zone, 1 hour east of Greanwich Everything seemed to work fine. I su-ed to root and root's TZ had the value I expected. When I returned to my own login, TZ of course had its old value - no surprise. I logged out and went home. The next day after I logged in again, my TZ still had the default value, while for all other logins TZ had the new value. Does anybody have an idea, how this could happen? Bye, -- | Hans Joachim Liesert, Dep. STO-SI 35 | Email: liesert.pad@nixdorf.de | | Siemens-Nixdorf Informationssysteme AG | EUnet: liesert.pad@nixpbe.uucp | | Pontanusstrasse 55 | USEnet: liesert.pad@nixdorf.com | | D-4790 Paderborn, Germany | ...!unido!nixpbe!liesert.pad |