- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shlib_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
Forums
Discussions
Discussions
Discussions
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
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
11-16-2006 01:25 AM
11-16-2006 01:25 AM
shlib_path
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 01:33 AM
11-16-2006 01:33 AM
Re: shlib_path
They don't need sudo access to set environment variables if they have commandline/script access.
They should be able to modify their .profile files. Two things they need to make that work. Permission to edit their .profile files and read access to whatever directories they want in their SHLIB_PATH
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 01:38 AM
11-16-2006 01:38 AM
Re: shlib_path
Jst ask them to edit their .profile file in their home directory.
$vi .profile
and add this line,
export SHLIB_PATH=/install/dir/path/
somwhere in the file.
But for this change to take effect i think they have to log out and login again after changing .profile.
Thanks,
siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2006 12:12 AM
11-17-2006 12:12 AM
Re: shlib_path
for system wide setting of SHLIB_PATH and friends, I use the same method as HP-UX handles PATH and MANPATH:
- create a file /etc/SHLIB_PATH with the desired content
- process its content in /etc/profile or /etc/profile.local or ... the same way as MANPATH .
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2006 04:38 PM
11-17-2006 04:38 PM
Re: shlib_path
There have been several security fixes to dld that would prevent honoring of SHLIB_PATH for setuid programs. Could that be your issue?
See PHSS_34858 and /etc/dld.sl.conf.
>Sivagnanaselvan: But for this change to take effect i think they have to log out and login again after changing .profile.
They can either resource it (. .profile) or export SHLIB_PATH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2006 06:22 PM
11-17-2006 06:22 PM
Re: shlib_path
As mentioned above, you need to either set the environment variable in the .profile of the user or do an explicit export SHLIB_PATH...
If you are using scripts, it will be better to include that export line in the script itself.
in any case, if you do echo $SHLIB_PATH , the current setting for that environment variable will be displayed.
hope this helps!
kind regards
yogeeraj