oracle11g的密碼文件是在目錄 /u01/app/oracle/product/11.2.0/dbhome_1/dbs下面
發(fā)展壯大離不開廣大客戶長期以來的信賴與支持,我們將始終秉承“誠信為本、服務至上”的服務理念,堅持“二合一”的優(yōu)良服務模式,真誠服務每家企業(yè),認真做好每個細節(jié),不斷完善自我,成就企業(yè),實現(xiàn)共贏。行業(yè)涉及成都發(fā)電機維修等,在重慶網(wǎng)站建設公司、全網(wǎng)營銷推廣、WAP手機網(wǎng)站、VI設計、軟件開發(fā)等項目上具有豐富的設計經(jīng)驗。
新建密碼文件的命令
orapwd file=orapwcapaas(orapw+數(shù)據(jù)庫SID) password=Oracle123(SYS用戶的密碼) entries=10 (最大嘗試次數(shù))
orapwd file=orapwwubin01 password=oracle123 entries=10 (這個是對的)
orapwd file =orapwwubin01 password=oracle123 entries=10 (這個會報錯,因為file =orapwdsid=號之前有空格)
報錯詳細信息:
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.
在遇到報錯 ORA-01031 insufficient privileges的時候可以嘗試重建密碼文件