| Lesson 11 || Rebuilding the password file |
| Objective|| Rebuild the password file for the COIN database. |
Rebuilding the Password File
Why rebuild the password file?
There are times when you may need to rebuild the password file for a database. The most likely reason is to increase the number of DBAs above the number you allotted when you created the file. Recreating the password file is not a particularly difficult task,
but it does require you to shut down and restart the database. The following steps explain how to rebuild a password file.
Steps to follow
- Select a list of current password file entries from the v$pwfile_users view. Save this list for later reference.
- Shut down the database.
- Delete the existing password file.
- Create a new password file with the number of entries you want.
- Restart the database.
- Connect as an
- Using the list you made earlier as a reference, grant SYSDBA and SYSOPER privileges to the appropriate users.
The key to the rebuild process is the list that you made in Step 1. Deleting and recreating the password file results in a file that has entries
only for the
SYS users. You need to re-enter all the other DBA users, which you can easily do if you make a list ahead of time.
New Password Protections
Oracle Database now includes the following new password protections:
- Easy ability to find default passwords. If you have upgraded from an earlier release of Oracle Database, you may have user accounts that still have default passwords. For greater security, you should find and change these passwords.
- Password complexity verification. Password complexity verification ensures that users set complex passwords when setting or resetting passwords. You can enforce password complexity by using the default settings provided by Oracle Database, or create custom requirements to further secure the password complexity requirements for your site.
- Enforced case sensitivity.
- Stronger password hashing algorithm. This enhancement enables users to create passwords that contain mixed case or special characters.
Password File Rebuilding - Steps