My Oracle Support Banner

ORA-01017 Error Caused by Creating Password File With "$" Inside Password Of orapwd Command (Doc ID 2442497.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Linux x86-64

Symptoms

ORA-01017 error caused by creating password file with "$" inside password of orapwd command.

For example:

/dbs> echo $SHELL
/usr/bin/ksh
/dbs> rm orapwDB1
/dbs> orapwd file=orapwDB1 password=<STRING1>$<STRING2> format=12
/dbs> export SYSPWD='<STRING1>$<STRING2>'
/dbs> sqlplus sys/${SYSPWD}@DB1 as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Sat Sep 1 23:58:18 2018

Copyright (c) 1982, 2014, Oracle. All rights reserved.

ERROR:
ORA-01017: invalid username/password; logon denied

 

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.