su - oracle
sqlplus /nolog
SQL> conn /as sysdba
/** 修改system、sys的密码 */
SQL> alter user system identified by system;
SQL> alter user sys identified by sys;
/** 可能出现的问题 */
1. ORA-01109: database not open
SQL> alter database open;
2. ORA-01507: database not mounted
SQL> alter database mount;
/** 修改密码过期时间(不过期) */
SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
/** 退出 */
SQL> exit;