APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

SYMPTOMS

From Oracle Database 12c release 2 (12.2), when use ORAPWD utility to create Password Files , authentication – enforces complexity rules for the provided password.

CAUSE

 When you try to create a password file with a less secure password, the orapwd terminates with an OPW-00029 error.

$ orapwd file=orapwd122 password=oracle

 OPW-00029: Password complexity failed for SYS user : Password must contain at least 8 characters.

SOLUTION

  • Use strong password

            Provide a password which fulfills all complexity requirements.

         $ orapwd file=orapwd122 password=welcome1!

 

  • Create Password File in 12c format

            If you don't want to set a strong password, you can use the 12c Release 1 format using the format parameter (the default value of Format is 12.2).

         $ orapwd file=orapwd122 password=oracle format=12