I have problem logging in to one of the accounts in our database. The situation is like this.
The user has already logged in to his account environment on Linux, for example from his personal account
su - projectA
The user tries to run SQL*Plus using
[projectA@myDB2]$ sqlplus /
We are getting the message:
ORA-01017: invalid username/password: logon denied
I ran this command below and it has a missing prefix.
SQL> SHOW PARAMETER os_authent_prefix
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
os_authent_prefix string
SQL>
How do I set a prefix on os_authent_prefix?
CREATEorALTER USER projectA IDENTIFIED EXTERNALLY. docs.oracle.com/cd/B19306_01/network.102/b14266/…alter system set OS_AUTHENT_PREFIX='your_prefix_here' scope=spfile;and then bounce the database.ops$projectAthen theOS_AUTHENT_PREFIXneeds to beOP$S. With no prefix set the account name should not have that prefix either. Either is valid but you need to decide which way to go; which might be based on the old DB or other accounts that do currently work. Read more in the docs.