SYS password reset

If the SYS, SYSTEM user passwords are forgotten or lost.
Passwords can be changed using the ORAPWD.EXE tool.
Start menu -> Run -> enter 'CMD', open the command prompt window, enter the following command:

orapwd file=D:\app\...\database\PWDorcl.ora password=newpass
This command regenerates the database password document. The location of the password file is in the \database directory under the ORACLE_HOME directory.
This password is to modify the password of the sys user. Passwords for users other than sys will not be changed.
However, Oracle provides two verification methods, one is OS verification and the other is password file verification. If it is the first method, use the following method to modify the password:
  sqlplus /nolog;
  connect / as sysdba
  alter user sys identified by ;
  alter user system identified by ;

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326591808&siteId=291194637