dba:oracle:howtos:howto_change_sys_password
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dba:oracle:howtos:howto_change_sys_password [2023/01/31 08:26] – removed - external edit (Unknown date) 127.0.0.1 | dba:oracle:howtos:howto_change_sys_password [2023/01/31 08:26] (current) – ↷ Page moved from dba:oracle:howto_change_sys_password to dba:oracle:howtos:howto_change_sys_password dodger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== [HOWTO] Reset SYS password ====== | ||
+ | ====== Description ====== | ||
+ | This is a very little document on howto reset the SYS password. | ||
+ | |||
+ | ====== steps ====== | ||
+ | * verify the pwfile: | ||
+ | < | ||
+ | * if there' | ||
+ | * Its a good practice to initalice the Oracle environment variables. | ||
+ | * As oracle, create the file: | ||
+ | < | ||
+ | * backup the actual pwd file: | ||
+ | < | ||
+ | * And replace it: | ||
+ | < | ||
+ | * Now you can add more users to the pwd file so they can login without having oracle avalaible: | ||
+ | < | ||
+ | grant sysdba to DODGER; | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== on ASM ====== | ||
+ | |||
+ | you must use the password copy tools: | ||
+ | |||
+ | pwget | ||
+ | |||
+ | pwcopy | ||
+ | |||
+ | to know which passwordfile is using and for copying from/to asm to/from localdisks. | ||
+ | <code bash> | ||
+ | pwget --dbuniquename BAVEL12SGDN | ||
+ | pwcopy --dbuniquename BAVEL12SGDN / | ||
+ | </ | ||
+ | |||
+ | |||
+ | How to Restore ASM Password File if Lost ( ORA-01017 ORA-15077 ) (Doc ID 1644005.1) |