How to reset the password for Oracle 10g SYS After installing Oracle 10g, you forget the system password that was set up during installation. With the help of colleagues through a way to solve.
1.oracle password file exists in: Oracle_home/database/pwd<sid>.ora
2. Reset the sys password using ORAPWD
C:oracleproduct10.2.0db_1database>orapwd
Usage:orapwd file=<fname> password=<password> entries=<users> force=<y/n>
C:oracleproduct10.2.0db_1database>orapwd File=pwdorcl.ora password=20120020
Entries=5 Force=y
where
File-name of password file (mand),
Password-password for SYS (Mand),
Entries-maximum number of distinct DBA and Force-whether to Overwrit
E existing file (opt),
Opers (opt),
There are no spaces around the equal-to (=) character.
Reset Oracle's SYS user password 1. Search the Oracle installation directory for a PWD database instance name. ora File
2. Backup a password file (must oh, avoid accidents OH)
3. Generate a new password file, enter the command under the DOS console
Orapwd file=pwd Database instance name. ora File path \pwd database instance name. Ora password= New Password entires= value
Description: File represents the full path of the password file (to be consistent with just the search)
Password represents the new password
Entires represents the user with the most login sys
If you want the new password to take effect, you will need to restart the database instance
Special note, in DOS input orapwd it has detailed hints.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.