The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Setting Up Profile.......Need Help Urgently reachtokhan UNIX for Advanced & Expert Users 13 11-06-2007 12:06 PM
Where can I read about the difference between "..profile" and ".profile" zorrokan UNIX for Dummies Questions & Answers 2 09-04-2007 10:35 PM
NLS_LANG setting in .profile arksjd Shell Programming and Scripting 1 06-22-2007 08:04 AM
Difference between .profile and .~/.profile maneesh mehta SCO 3 12-14-2005 01:35 AM
changed .profile but didnt ./.profile, yet reflected changes yls177 UNIX for Dummies Questions & Answers 4 12-05-2002 08:21 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 02-22-2002
Chip Justis's Avatar
Registered User
 

Join Date: Feb 2002
Posts: 2
Nick

My problem is the same and I'm trying to set the LIBPATH for DB2 users. The following is an excerpt from a DB2 doc I ran across. It states, "On UNIX operating systems, the value of LIBPATH cannot be inherited between parent and child processes if the user ID has changed." I imagine that during the initialization of "X" the user ID is probably changed at some point. I use a similar workaround using a script that the user must execute after logging in. Very annoying!

Is there a way to set variables in "X" other than .profile, /etc/profile, .dtprofile? Something executed within "X" (not before) that will set the variables for all child windows opened within "X"?

Still confused ,
Chip

http://nscpcw.physics.upenn.edu/db2_...ix/db2ix96.htm

'Specifies the value of LIBPATH in the db2libpath environment variable. On UNIX operating systems, the value of LIBPATH cannot be inherited between parent and child processes if the user ID has changed. Since the db2start executable is owned by root and its execute permissions are setuid to root, DB2 cannot inherit the LIBPATH settings of end users. If you list the variable name, LIBPATH, in the db2envlist environment variable, you must also specify the value of LIBPATH in the db2libpath registry value. The db2start executable will then read the value of db2libpath and append this value to the end of the DB2-constructed LIBPATH.'
Google The UNIX and Linux Forums
Forum Sponsor
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0