- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: To keep SHLIB_PATH environment
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
06-09-2010 01:08 AM
06-09-2010 01:08 AM
To keep SHLIB_PATH environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 01:13 AM
06-09-2010 01:13 AM
Re: To keep SHLIB_PATH environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 01:34 AM
06-09-2010 01:34 AM
Re: To keep SHLIB_PATH environment
If you mean that you lose the settings when you 'su' then you need to set:
SU_KEEP_ENV_VARS=SHLIB_PATH
...in '/etc/default/security'
See the manpages for 'security(4)'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 02:07 AM
06-09-2010 02:07 AM
Re: To keep SHLIB_PATH environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 02:07 AM
06-09-2010 02:07 AM
Re: To keep SHLIB_PATH environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 02:27 AM
06-09-2010 02:27 AM
Re: To keep SHLIB_PATH environment
SU_KEEP_ENV_VARS=SHLIB_PATH
Wasn't the question about sudo?
Doesn't that need -E? (I had to use that since the default had changed.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 02:37 AM
06-09-2010 02:37 AM
Re: To keep SHLIB_PATH environment
e.g.
user1 ALL = (root) NOPASSWD:SETENV:ALL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 02:58 AM
06-09-2010 02:58 AM
Re: To keep SHLIB_PATH environment
user1 ALL = (root) NOPASSWD:SETENV:ALL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 03:42 AM
06-09-2010 03:42 AM
Re: To keep SHLIB_PATH environment
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1253034
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 06:05 AM
06-09-2010 06:05 AM
Re: To keep SHLIB_PATH environment
Defaults always_set_home
It gives me the attached error when I restarted the mailbox services.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2010 11:54 PM
06-09-2010 11:54 PM
Re: To keep SHLIB_PATH environment
sudo -E ...
http://www.gratisoft.us/sudo/man/sudo.html
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1358533
>unix_shell: you may check this link
That may be unrelated to the sudo issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2010 04:12 AM
06-11-2010 04:12 AM
Re: To keep SHLIB_PATH environment
What I did differently was to add the following to the sudoers file:
Defaults env_keep -= "PATH"
Before now I was using +
Thanks to all the contributions.