oracle11g的密碼文件是在目錄 /u01/app/oracle/product/11.2.0/dbhome_1/dbs下面
發(fā)展壯大離不開(kāi)廣大客戶(hù)長(zhǎng)期以來(lái)的信賴(lài)與支持,我們將始終秉承“誠(chéng)信為本、服務(wù)至上”的服務(wù)理念,堅(jiān)持“二合一”的優(yōu)良服務(wù)模式,真誠(chéng)服務(wù)每家企業(yè),認(rèn)真做好每個(gè)細(xì)節(jié),不斷完善自我,成就企業(yè),實(shí)現(xiàn)共贏。行業(yè)涉及成都發(fā)電機(jī)維修等,在重慶網(wǎng)站建設(shè)公司、全網(wǎng)營(yíng)銷(xiāo)推廣、WAP手機(jī)網(wǎng)站、VI設(shè)計(jì)、軟件開(kāi)發(fā)等項(xiàng)目上具有豐富的設(shè)計(jì)經(jīng)驗(yàn)。
新建密碼文件的命令
orapwd file=orapwcapaas(orapw+數(shù)據(jù)庫(kù)SID) password=Oracle123(SYS用戶(hù)的密碼) entries=10 (最大嘗試次數(shù))
orapwd file=orapwwubin01 password=oracle123 entries=10 (這個(gè)是對(duì)的)
orapwd file =orapwwubin01 password=oracle123 entries=10 (這個(gè)會(huì)報(bào)錯(cuò),因?yàn)閒ile =orapwdsid=號(hào)之前有空格)
報(bào)錯(cuò)詳細(xì)信息:
Usage: orapwd file=
where
file - name of password file (required),
password - password for SYS will be prompted if not specified at command line,
entries - maximum number of distinct DBA (optional),
force - whether to overwrite existing file (optional),
ignorecase - passwords are case-insensitive (optional),
nosysdba - whether to shut out the SYSDBA logon (optional Database Vault only).
There must be no spaces around the equal-to (=) character.
在遇到報(bào)錯(cuò) ORA-01031 insufficient privileges的時(shí)候可以嘗試重建密碼文件