Here is the correct order of steps for rebuilding a password file.
- Select a list of current password file entries from the v$pwfile_users view
- Shut down the database.
- Delete the existing password file.
- Create a new password file.
- Restart the database.
- Connect to the database as the
SYSOPER privileges to the appropriate users.