HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- package startup script and su
Operating System - HP-UX
1827811
Members
1864
Online
109969
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
Go to solution
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
01-14-2002 09:37 PM
01-14-2002 09:37 PM
We have a 2 node cluster with SG. In the
package file control.sh, under the customer_defined_run_cmds
we do su - oracle to strat up the dbstart
script, then do another su to start the
application. And similarly for the shutdown of db
and the application in the halt_cmds .
Our system is not a trusted system. Now I want
to make these systems trusted systems by
running tsconvert on them. I believe that when
this is done we would need to provide a passwd
to any login with su even if you are root.
Then I would have a problem bringing up my
package unless I pass the password with su
in the script, which I wouldnot want to do.
How do I overcome this problem ?
Thank you for your help.
TV
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 10:36 PM
01-14-2002 10:36 PM
Re: package startup script and su
Hello,
How about using a su - oracle -c
The "-c" option.
Sorry,I have not worked with the trusted system.
Thanks
How about using a su - oracle -c
The "-c" option.
Sorry,I have not worked with the trusted system.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 10:55 PM
01-14-2002 10:55 PM
Re: package startup script and su
Dear Manikandan,
Yes. That is what we do.
su - ora816 -c "dbstart"
But since this is executed as
root I donot have to give a
password for the user ora816
but if I were to make this
system into a trusted system
I would need to provide a
passwd which I would like to
avoid.
Thank you for youe help.
TVS
Yes. That is what we do.
su - ora816 -c "dbstart"
But since this is executed as
root I donot have to give a
password for the user ora816
but if I were to make this
system into a trusted system
I would need to provide a
passwd which I would like to
avoid.
Thank you for youe help.
TVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 01:09 AM
01-15-2002 01:09 AM
Solution
< to make these systems trusted systems by
running tsconvert on them. I believe that when
this is done we would need to provide a passwd
to any login with su even if you are root.>>>>>>>
If you are in root ,then no need to supply password in trusted system also.
running tsconvert on them. I believe that when
this is done we would need to provide a passwd
to any login with su even if you are root.>>>>>>>
If you are in root ,then no need to supply password in trusted system also.
Did you take a backup?
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP