![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 03:06 PM |
| Where can I read about the difference between "..profile" and ".profile" | zorrokan | UNIX for Dummies Questions & Answers | 2 | 09-05-2007 01:35 AM |
| NLS_LANG setting in .profile | arksjd | Shell Programming and Scripting | 1 | 06-22-2007 11:04 AM |
| Difference between .profile and .~/.profile | maneesh mehta | SCO | 3 | 12-14-2005 04:35 AM |
| changed .profile but didnt ./.profile, yet reflected changes | yls177 | UNIX for Dummies Questions & Answers | 4 | 12-05-2002 11:21 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi there,
I wonder if anyone can help me. I run an application on an AIX 4.3.3 machine, for which I need to set up the LIBPATH environment variable for a specific user. I need this to be set up automatically when the user logs in (via Exceed), so I tried setting this in the .profile file. All EXPORT commands that I put into .profile work, *EXCEPT* LIBPATH!! When I check the value of $LIBPATH after logging in, it is blank. As an example, I have created this dummy .profile file: export PATH=$JAVA_HOME/jre/sh:$JAVA_HOME/sh:$ANT_HOME/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/home/allusers/bin:/usr/bin/X11:/sbin:/usr/local/bin/:. if [ -s "$MAIL" ] # This is at Shell startup. In normal then echo "$MAILMSG" # operation, the Shell checks fi # periodically. export TEST1=/test/test1 export LIBPATH=/home/nick export TEST2=/test/test2 When I log on (with Exceed), my test variables are there but not LIBPATH: $ echo $TEST1 /test/test1 $ echo $LIBPATH $ echo $TEST2 /test/test2 $ When logging on using telnet, it all works fine. Does anyone know why this happens on Exceed? How can I get LIBPATH to be set up automatically at log on? Any help gratefully received, Nick Durnell. Last edited by durnelln; 07-18-2001 at 06:49 AM.. |
|
||||
|
Unfortunately I 've no Exceed over here to test it out ...
What you could do is to check the .*shrc (depends on the shell you're using) and the .dtprofile to see what that files are doing ... maybe in one of these your settings are overwritten |
|
||||
|
Thanks mod, but I have already checked .dtprofile and .kshrc.
.dtprofile is set up with the line DTSOURCEPROFILE=true so that the .profile file is executed. .kshrc contains a couple of aliases, and nothing else. Any other ideas? This isn't limited to my installation of Exceed as one of our clients has the same set up and is also experiencing this problem! |
|
||||
|
Unfortunately not
I still cannot set $LIBPATH automatically from any profile files that are run when logging on with Exceed.This is very annoying as without setting $LIBPATH some software will not function correctly. Users must remember to run '. .profile' every time they log on or run a script file to set it. The equivalent variable on SUN ($LD_LIBRARY_PATH) CAN be set automatically in .profile so we have no problems when logging on to a SUN machine. But try as I might I cannot set $LIBPATH on AIX. Does ANYONE out there know why this can't be done????? Nick. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|