Professional Documents
Culture Documents
SQL 2
SQL 2
sh
Copy code
$ sqlplus sys as sysdba
sql
Copy code
SQL*Plus: Release 19.0.0.0.0 - Production on Thu May 27 2024
You should see a message indicating that the user was altered:
sql
Copy code
User altered.
Notes:
Ensure that the new password complies with your database’s password policies (such
as length, complexity, etc.).
If you are using Oracle Database 12c or later, and you have password versioning
enabled, you might need to reset the password for different versions (10g, 11g, etc.)
using specific options.
1. Open SQL Developer and connect to your database with an admin account.
2. Navigate to the "Users" node under the appropriate connection.
3. Right-click on the user (e.g., hr) and select "Edit User."
4. Enter the new password and apply the changes.
By following these steps, you can change the password for an existing user in Oracle
Database.