Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Reseting after the first login

Re: Reseting after the first login

From: Andy Hassall <andy_at_andyh.co.uk>
Date: Tue, 19 Sep 2006 21:07:43 +0100
Message-ID: <p6i0h2dflpcn3fv9esi12ik57dq5mfe4ks@4ax.com>


On 19 Sep 2006 12:10:50 -0700, "fitzjarrell_at_cox.net" <fitzjarrell_at_cox.net> wrote:

>You cannot. You CAN create a user with an expired password, however,
>even in 10gR2, the user cannot reset his/her own password:

 [snip examples using SQL*Plus]

>SQL> connect blabbo
>Enter password:
>ERROR:
>ORA-00604: error occurred at recursive SQL level 1
>ORA-06502: PL/SQL: numeric or value error
>ORA-06512: at line 14
>ORA-28001: the password has expired

 It's a bit odd that you're getting recursive SQL errors. I get the following behaviour - note that the password expiry is a top-level error, not lower within an error stack as in your demo:

[oracle_at_testbox ~]$ sys

SQL*Plus: Release 10.2.0.2.0 - Production on Tue Sep 19 21:05:26 2006

Copyright (c) 1982, 2005, Oracle. All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production With the Partitioning, OLAP and Data Mining options

SQL> alter user test password expire;

User altered.

SQL> connect test/test
ERROR:
ORA-28001: the password has expired

Changing password for test
New password:
Retype new password:
Password changed
Connected.
SQL>

-- 
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Received on Tue Sep 19 2006 - 15:07:43 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US