🍇Fix Password File Missing on Oracle
SQL> grant sysdba to scott ;
ORA-01994: GRANT failed: password file missing or disabled
Configuration
Last updated
sqlplus / as sysdbaselect * from v$pwfile_users ;USERNAME SYSDB SYSOP SYSAS
------------------------------ ----- ----- -----orapwd file=orapwORCL password=sys_password entries=3select * from v$pwfile_users ;USERNAME SYSDB SYSOP SYSAS
------------------------------ ----- ----- -----
SYS TRUE TRUE FALSEgrant sysdba to scott ;select * from v$pwfile_users ;USERNAME SYSDB SYSOP SYSAS
------------------------------ ----- ----- -----
SYS TRUE TRUE FALSE
SCOTT TRUE FALSE FALSEshow parameter password ;NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_login_passwordfile string EXCLUSIVE