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

Home -> Community -> Usenet -> c.d.o.tools -> Oracle 8.1.6 Alter User command fails with VERIFY_FUNCTION

Oracle 8.1.6 Alter User command fails with VERIFY_FUNCTION

From: Michael Dodd <doddme_at_mindspring.com>
Date: Wed, 06 Jun 2001 18:01:47 -0500
Message-ID: <spcthtoqgb8b1gb9l2hb84ai6gk8r6h2aa@4ax.com>

Try this :

Opt to use the VERIFY_FUNCTION in your profile. as a normal user (no ALTER ANY USER)

SQL> create user testing identified by testing_1;

User created.

SQL> grant connect to testing;

Grant succeeded.

SQL> connect testing/testing_1;
Connected.
SQL> alter user testing identified by qaz_1qaz; alter user testing identified by qaz_1qaz *
ERROR at line 1:
ORA-28003: password verification for the specified password failed

SQL> connect system/password;
Connected.

SQL> grant alter user to testing;

Grant succeeded.

SQL> connect testing/testing_1;
Connected.
SQL> alter user testing identified by qaz_1qaz;

User altered.

SQL> alter user system identified by qaz_1qaz;

User altered.

SQL> The problem isn't with the password - the problem is with the use of ALTER USER without having ALTER USER permissions granted to the user. Once that is granted the user can change any user he or she wants to. That's the real problem here. The verify function prohibits the use of the ALTER USER command in 8.1.6 and higher.

Does anyone have a solution? I am looking at avoiding the use of the verify_function. Oracle suggests using SQL*Plus or the OCI call in a DLL. That is not satisfactory. We need to have other solutions to this. Received on Wed Jun 06 2001 - 18:01:47 CDT

Original text of this message

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