- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: using sqlplus.
Operating System - HP-UX
1820259
Members
2900
Online
109622
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
Discussions
Discussions
Discussions
Forums
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
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
тАО07-02-2004 02:51 AM
тАО07-02-2004 02:51 AM
Hi everyone
I have a situation where Iam starting sqlplus under root with this command:
su - asy -c /home/asy/sqlplus username/password
and the command starts sqlplus without any problem but it asks me of the username and password which I have supplied on the command line. I suspect the system can only interprate the command upto sqlplus which means it's not seeing the username and password supplied.
How can I execute the same command without been asked for a username and password.
Regards
Bonnie.
I have a situation where Iam starting sqlplus under root with this command:
su - asy -c /home/asy/sqlplus username/password
and the command starts sqlplus without any problem but it asks me of the username and password which I have supplied on the command line. I suspect the system can only interprate the command upto sqlplus which means it's not seeing the username and password supplied.
How can I execute the same command without been asked for a username and password.
Regards
Bonnie.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2004 02:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2004 03:10 AM
тАО07-02-2004 03:10 AM
Re: using sqlplus.
Thanks Anil
You have made my day.
Regards.
Bonnie.
You have made my day.
Regards.
Bonnie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2004 06:57 PM
тАО07-02-2004 06:57 PM
Re: using sqlplus.
Bonnie,
please allow me to added the following:
if you Database allows for OS authentication, you can also avoid specifying the username and password by just running:
su - asy -c "/home/asy/sqlplus /"
assumptions:
a. You have OS parameters enabled at the database level
e.g.
SQL> show parameter os_auth
NAME TYPE VALUE
------------------------------------ ------- ------------------------------
os_authent_prefix string ops$
remote_os_authent boolean TRUE
b. you have a user ops$asy in your database.
hope this helps too!
regards
Yogeeraj
please allow me to added the following:
if you Database allows for OS authentication, you can also avoid specifying the username and password by just running:
su - asy -c "/home/asy/sqlplus /"
assumptions:
a. You have OS parameters enabled at the database level
e.g.
SQL> show parameter os_auth
NAME TYPE VALUE
------------------------------------ ------- ------------------------------
os_authent_prefix string ops$
remote_os_authent boolean TRUE
b. you have a user ops$asy in your database.
hope this helps too!
regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP