一、Windows:
sqlplus / as sysdba
alter user sys identified by newpassword;
二、
linux
su oracle \\
切换到Oracle用户
sqlplus / as sysdba
alter user sys identified by newpassword;
这样sys用户的密码就被重新设置为“
newpassword”了