您好,登錄后才能下訂單哦!
oracle11g的密碼文件是在目錄 /u01/app/oracle/product/11.2.0/dbhome_1/dbs下面
新建密碼文件的命令
orapwd file=orapwcapaas(orapw+數(shù)據(jù)庫SID) password=Oracle123(SYS用戶的密碼) entries=10 (最大嘗試次數(shù))
orapwd file=orapwwubin01 password=oracle123 entries=10 (這個(gè)是對的)
orapwd file =orapwwubin01 password=oracle123 entries=10 (這個(gè)會(huì)報(bào)錯(cuò),因?yàn)閒ile =orapwdsid=號之前有空格)
報(bào)錯(cuò)詳細(xì)信息:
Usage: orapwd file=<fname> entries=<users> force=<y/n> ignorecase=<y/n> nosysdba=<y/n>
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í)候可以嘗試重建密碼文件
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。