- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Encrypt/Hide Oracle UID/PWD
Operating System - HP-UX
1748169
Members
4265
Online
108758
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
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
тАО05-04-2001 04:13 AM
тАО05-04-2001 04:13 AM
Our users connect to the Oracle (ver 7.3.x) SID on our HP-UX 10.2 box. When anyone does a ps -ef they see the Oracle ID and PWD of that user.
How can I mask/encrypt or hide this?
How can I mask/encrypt or hide this?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2001 04:30 AM
тАО05-04-2001 04:30 AM
Re: Encrypt/Hide Oracle UID/PWD
Hi,
you should indeed never put your password on the command line, for the reason you mentionned.
Best workaround is to use OS Authentication, so users don't need to specify a username or a password. (so "sqlplus /" or "runform30x /" will do)
BTW this does not only apply to online user, but also to batch processes: you should never put any password in scripts.
good luck,
Thierry.
you should indeed never put your password on the command line, for the reason you mentionned.
Best workaround is to use OS Authentication, so users don't need to specify a username or a password. (so "sqlplus /" or "runform30x /" will do)
BTW this does not only apply to online user, but also to batch processes: you should never put any password in scripts.
good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2001 04:39 AM
тАО05-04-2001 04:39 AM
Re: Encrypt/Hide Oracle UID/PWD
Can you expand on you explanation?
I do not understand your use of "sqlplus /"
Thanks
I do not understand your use of "sqlplus /"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2001 04:58 AM
тАО05-04-2001 04:58 AM
Solution
sure, here we go:
normally oracle users are created like:
CREATE USER "loginname" IDENTIFIED BY "somepassword";
(plus some other options like default tablespace etc., plus the necessary grants)
then they can login as:
sqlplus loginname/somepassword.
With OS Authentication Oracle will allow access if you are already authenticated (logged in) by the Operating System.
CREATE USER "ops$loginname" IDENTIFIED EXTERNALLY;
now the user can login as:
sqlplus /
note: the prefix 'OPS$' is defined by the parameter OS_AUTHENT_PREFIX in your initxxx.ora file. It's defaulted to 'OPS$' in Oracle 7.x. You can change this to "" (nothing) if you want the oracle login to be equal to the unix login.
good luck,
Thierry.
normally oracle users are created like:
CREATE USER "loginname" IDENTIFIED BY "somepassword";
(plus some other options like default tablespace etc., plus the necessary grants)
then they can login as:
sqlplus loginname/somepassword.
With OS Authentication Oracle will allow access if you are already authenticated (logged in) by the Operating System.
CREATE USER "ops$loginname" IDENTIFIED EXTERNALLY;
now the user can login as:
sqlplus /
note: the prefix 'OPS$' is defined by the parameter OS_AUTHENT_PREFIX in your initxxx.ora file. It's defaulted to 'OPS$' in Oracle 7.x. You can change this to "" (nothing) if you want the oracle login to be equal to the unix login.
good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP