- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle : Changed Password
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
Discussions
Discussions
Discussions
Forums
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
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
тАО05-21-2003 04:24 PM
тАО05-21-2003 04:24 PM
Database :Oracle Database 8.1.7
o/S : AIX 4
Client :SQL Plus 8.0.5 running on window NT.
Problem :
A user connected to database using SQL Plus 8.0.5 and want to change password.
Below are how user changed password :
SQL> password
Changing password for AHFELDMA
Old password: **********
Operating System error occurred
Password unchanged
SQL>
uhm!! Got error.
I do some testing I installed a client SQLPLUS 8.1.7 and do the same:
SQL> password
Changing password for xxxx
SQL>
Amazingly no problem.
I so further testing.I installed SQLPLUS 3.3 . And try to changed my password.Even worst,I got error
UNKNOWN COMMAND...
Question 1)
use password command to change user password?Thisis weird...I never use this , normally we use " alter user xxx identified by "xxx" ".Using password this is something new.Is it a default function from oracle 8.1.7 OR some smart guy(who already left the company) create a procedure(or whatever ) to enable user to changed password using password.
Question 2)
What???? What is the different using SQLPLUS 8.1.7 or 8.0.5 ... I'm really confuse...Being a good DBA,I strongly told my user that SQL PLUS client nothing to do with this problem.Now obviously I'm wrong...heheheh ashamed...
Shed some light please.
still learning,
mB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 05:25 PM
тАО05-21-2003 05:25 PM
Re: Oracle : Changed Password
Your questions.
1) The prompt could have been caused by the expiration of the ORACLE password, not the OS password. The OS command to change passwords is passwd, not password. It is possible that the user shelled out of sqlplus and typed passwd. I know its possible to shell out to the OS in sqlplus.
2) sqlplus 8.0.5 is fine for connecting. It would be better if you had a standardized client distributed. This issue was not caused by the OS and I doubt the sqlplus client was involved, unless thats why the database session terminated.
There should be something in the alert logs in this case.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 05:28 PM
тАО05-21-2003 05:28 PM
Re: Oracle : Changed Password
There is a note in Metalink that says that 8.0.5 and 8.1.5 have bug associated with the password command.
I saw your note in Metalink. I think that the Doc ID you should look at is 85228.999. This appears to run parallel to your problem. From what I can tell, the "password" function is used for when the password security has been enabled with the utlpwdmg.sql script. Otherwise, as far as I can tell, the users can use "alter user" to change passwords.
A simple fix to get around this is to do one of two things to the script. You can change the "old_password varchar2" to "old_password varchar2 default ''" or set the "IS NULL" that is talked about in the Doc ID above. This will force the users to use password to change it, although it will disallow clients on 8.0.5 and 8.1.5 from working due to the bugs associated with those versions. (This was supposed to be fixed in 8.0.6, 8.1.6, 8.1.7, and 9i).
Hope this helps. Post back if you have any questions.
Thanks,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 05:38 PM
тАО05-21-2003 05:38 PM
Re: Oracle : Changed Password
The next simple fix (tested, I swear) is:
change "IF old_password = '' THEN" to
"IF old_password = '' or old_password is null THEN"
This will make it so that "alter user" cannot be used at all (DBA's as well unless you want to code a workaround into the script (not hard)). All users will be forced to use the password function (note the warning about 8.0.5 above).
Sorry for the mixup.
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 05:42 PM
тАО05-21-2003 05:42 PM
Re: Oracle : Changed Password
Brian-I try to look for the Doc ID 85228.999.
Is it in Metalink or ITResourcecenter.Appreciate if you could give me the link.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 08:13 PM
тАО05-21-2003 08:13 PM
Re: Oracle : Changed Password
1. 85228.999 is a Metalink document.
[Brian, please allow me answer this question]
2. You cannot run a procedure "directly" using SQLPLUS. You need to "PLSQL" it or use "exec"
e.g.
begin
password;
end;
or
exec password
3. The may be effectively some changes with the different releases of SQLPLUS.
If you see the SQLPLUS Quick Reference Guide, you will find that password is a SQLPLUS reserved word.
SYNTAX:
PASSW[ORD] [username]
Allows you to change a password without echoing the password on the terminal.
hope this helps!
Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 08:32 PM
тАО05-21-2003 08:32 PM
Re: Oracle : Changed Password
check the attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 09:10 PM
тАО05-21-2003 09:10 PM
Re: Oracle : Changed Password
I do a search on metalink using 85228.999 .But no result.APpreciate if you could sent me the link.
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 09:19 PM
тАО05-21-2003 09:19 PM
Solutionlet me help you find it rather than foolishly sending you this note!
Steps:
1. login to metalink.oracle.com
2. click on the "advanced"
3. Keywords, enter: "85228.999"
4. Click on the radio button "Doc ID"
5. Click "Search"
You should get the document!
hope this helps!
Please revert if you still don't get it. (i will have to post it then)
cheers
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2003 09:26 PM
тАО05-21-2003 09:26 PM
Re: Oracle : Changed Password
Thanks...Closing the thread...
regards
mB
p/s: cifu mean guru in Chinese...