AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
after login in my aix session, no value is being populated in REAL_USER.
i checked the /etc/setenv_user file and found the following line
REAL_USER=`/bin/usr -uid` (some similar line, i have forgotten as i am not
export REAL_USER with my system now)
I ran the script setenv_user with ksh -x (we use korn shell) for debugging purpose.
i could see that atleast inside the script the required value is getting populated in REAL_USER. However, after running the script when i give the command "echo $REAL_USER", it displays me no value.
Can any one please help me out with this?
X/Open is *not* an intrinsic part of AIX, and the entire "/usr/xpg4" probably won't even exist on most flavors of *nix. Certainly not any Linux systems. So it's not really portable, and I'd discourage your relying on it if you can avoid it.
so sorry, it seems that by mistake i gave some what wrong information.
the exact line in my /etc/setenv_user script is
The baffling thing is that REAL_USER is getting populated in
development region and the production region. However, it is not
getting populated in QA region. I hope this will provide some more insight
into the problem