- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Modifying root's environmental path
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2002 12:48 PM
тАО12-03-2002 12:48 PM
Modifying root's environmental path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2002 12:53 PM
тАО12-03-2002 12:53 PM
Re: Modifying root's environmental path
Do you use CDE ? In this case you must use the .dtprofile for enviroment settings or (in this file) uncomment the line
# DTSOURCEPROFILE=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2002 12:57 PM
тАО12-03-2002 12:57 PM
Re: Modifying root's environmental path
Dot in the .profile and see if it works.
#cd
#. ./.profile
#echo $PATH
If you are using CDE, you will need to make sure that, in $HOME/.dtprofile the line "DTSOURCEPROFILE=true" is uncommented.
Keep a file called $HOME/.Xdefaults that has the line "dtterm*loginShell: True".
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2002 12:58 PM
тАО12-03-2002 12:58 PM
Re: Modifying root's environmental path
Yes...CDE is used as our GUI desktop. If I understand you correctly, the PATH statement in .dtprofile should be modified accordingly, and the last line in the file should be uncommented. Is that correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2002 12:59 PM
тАО12-03-2002 12:59 PM
Re: Modifying root's environmental path
login as root
cd
grep -i PATH .profile
and
grep -i PATH /etc/profile
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2002 01:00 PM
тАО12-03-2002 01:00 PM
Re: Modifying root's environmental path
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2002 01:59 PM
тАО12-03-2002 01:59 PM
Re: Modifying root's environmental path
With root though, I change the paths in /.profile, and /.cshrc for cshell. I have no problems in CDE with this, even though I dont uncomment the line in .dtprofile. At initial login, your defaults are read, just not each consecuative shell afterwards.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2002 04:53 PM
тАО12-03-2002 04:53 PM
Re: Modifying root's environmental path
Adding additional levels to the PATH variable is sometimes appropriate. Make sure that you keep the most likely directories to contain the desired object at the front of the PATH for optimal search times.
In some cases, it is just as appropriate to code (or force the use of) an absolute path in a script or command line.
Regards!
...JRF...