【點(diǎn)擊:】
阿木伯 著
|
|
如何修改internal的口令? |
|
- 軟件環(huán)境:
1、Windows NT4.0+ORACLE 8.0.4
2、ORACLE安裝路徑為:C:\ORANT
- 實(shí)現(xiàn)方法:
用法:orapwd file= password= entries=
參數(shù)解釋:
file - name of password file (mand),
password - password for SYS and INTERNAL (mand),
entries - maximum number of distinct DBA and OPERs (opt),
There are no spaces around the equal-to (=) character.
1、進(jìn)入DOS下
2、默認(rèn)internal密碼文件在c:\orant\database下,是隱藏屬性,文件名稱與數(shù)據(jù)庫實(shí)例名有關(guān)
如默認(rèn)ORACLE實(shí)例名為ORCL,則internal密碼文件名為pwdorcl.ora
3、建立新的internal密碼文件,起個(gè)新名字為pwdora8.ora
orapwd80 file=pwdora8.ora password=B entries=5 --注:password項(xiàng)一定要用大寫,并且不要用單引號(hào)
4、拷貝pwdora8.ora文件到c:\orant\database目錄下
5、運(yùn)行regedit,修改口令文件指向
6、找到HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE項(xiàng)
定位ORA_ORCL_PWFILE子項(xiàng),改變其值為c:\orant\database\pwdora8.ora
7、關(guān)閉ORACLE數(shù)據(jù)庫,重新啟動(dòng)
8、進(jìn)入svrmgr30服務(wù)程序,測(cè)試internal密碼是否更改成功
|
【最后更新:】 |
|