HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sudo Configuration issue
Operating System - HP-UX
1834459
Members
2520
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-27-2008 10:07 AM
10-27-2008 10:07 AM
Sudo Configuration issue
Hi,
I have issue with sudo configuration. we have sudo configuration for SAP user environment.
when i am trying to get SAP comand with sudo access , i am getting Errors.
# sudo -u t01adm /sapmnt/t01/exe/brtools
error:BR0152E Environment variable ORACLE_SID is not set.
this error saying that , there is no Environmental setup fo this t01. but when i did echo i am able to get ORACLE_SID.
could you please help some to resolve this issue.
Thanks,
Balaji.
I have issue with sudo configuration. we have sudo configuration for SAP user environment.
when i am trying to get SAP comand with sudo access , i am getting Errors.
# sudo -u t01adm /sapmnt/t01/exe/brtools
error:BR0152E Environment variable ORACLE_SID is not set.
this error saying that , there is no Environmental setup fo this t01. but when i did echo i am able to get ORACLE_SID.
could you please help some to resolve this issue.
Thanks,
Balaji.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 10:37 AM
10-27-2008 10:37 AM
Re: Sudo Configuration issue
Use env_keep option in sudoers file - http://sudo.ws/sudo/man/sudoers.html#item_env_keep
You can use the following:
Defaults env_keep+="ORACLE_SID"
regards,
ivan
You can use the following:
Defaults env_keep+="ORACLE_SID"
regards,
ivan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP