Resetting an Oracle user password is as simple as logging in and changing in as the admin user.
If you are using the Fedora image provided with the course, you can follow the instructions exactly:
- Open a terminal window
- Switch to the root user:
-
sudo su
-
- Switch to the oracle user:
-
su oracle
-
- Login to SQLPlus as the SYSDBA
-
sqlplus / as sysdba
-
- Change the password for the student user:
-
SQL> ALTER USER student IDENTIFIED BY student;
-
- Exit from SQLPlus:
-
SQL> EXIT
-
- Exit from oracle, then from root user:
-
exit
-
exit
-
- Login to SQLPlus:
-
sqlplus student/student
-
- You should now be logged into SQLPlus!
It is that simple.