In Oracle boot setup, we are able to boot from Oracle software, instance, monitor.
So usually we are using the Sqlplus sys/****** as SYSDBA command to log in, the startup script does not know the SYS user's password, how does it log on up?
In the view script, the Sqlplus/as sysdba command is used, which uses the operating system authentication. Log on using this command, no sys user password is required, and the SYS user is logged in.
When the SYS user password for the Oracle database is forgotten, you can sqlplus/as sysdba into the database through the operating system and execute ALTER USER SYS identified by XXX to modify the SYS user password.
For the execution of Sqlplus/as SYSDBA, the user is required to operate in a DBA user group, such as an Oracle user can execute this command, and other ordinary users will report an error of insufficient privileges when executing this command.
In addition use:
Sqlplus/nolog;
Conn/as Sysdba;
It has the same effect as Sqlplus/as sysdba.