oracle@test > sqlplus sys@test as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Sun Oct 11 13:19:40 2020
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics
and Real Application Testing options
SQL> select database_role,open_mode from v$database;
DATABASE_ROLE OPEN_MODE
---------------- --------------------
PRIMARY READ WRITE
SQL> Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics
and Real Application Testing options
oracle@test > rm -f $ORACLE_HOME/dbs/orapw*
oracle@test > sqlplus sys@test as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Sun Oct 11 13:21:14 2020
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01017: invalid username/password; logon denied