You can connect to the database locally using a combination of environment variables:
Depending on your OS :
Unix / Linux:
export ORACLE_HOME=<oracle_home_directory_till_db_home> export PATH=$PATH:$ORACLE_HOME/bin export ORACLE_SID=<your_oracle_sid> SQLPLUS / AS SYSDBA
Window
set ORACLE_HOME=<oracle_home_path_till_db_home> set PATH=%PATH%||%ORACLE_HOME%\bin set ORACLE_SID=<your_oracle_sid> SQLPLUS / AS SYSDBA
After connecting, you can change the user to change the password :
ALTER USER username IDENTIFIED BY password;
Lalit Kumar B Dec 18 '15 at 6:42 2015-12-18 06:42
source share