remote_login_passwordfile
Whether the password file authenticates remote administrative logins such as SYSDBA and SYSOPER.
- По умолчанию
EXCLUSIVE- Range
- NONE, SHARED, EXCLUSIVE
- Restart needed
- Да
- Default checked on
- Oracle AI Database 26ai / 23ai
Что оно делает
NONE refuses password-file logins over the network; EXCLUSIVE lets one database grant SYSDBA, SYSOPER, SYSBACKUP, SYSDG and SYSKM to its own users; SHARED shares one file among several databases on the host and holds only the built-in accounts. V$PWFILE_USERS lists the members.
Значение по умолчанию
EXCLUSIVE. EXCLUSIVE (Oracle 23ai/26ai); the file itself is created with orapwd as orapw$ORACLE_SID under dbs on Linux.
Check the current value
SHOW PARAMETER remote_login_passwordfile SELECT name, value, isdefault, issys_modifiable, isses_modifiable, ispdb_modifiable FROM v$parameter WHERE name = 'remote_login_passwordfile'; -- What the SPFILE holds, which is what applies at the next startup: SELECT value FROM v$sppparameter WHERE name = 'remote_login_passwordfile';
Change it
ALTER SYSTEM SET remote_login_passwordfile = EXCLUSIVE SCOPE=SPFILE; -- then SHUTDOWN IMMEDIATE and STARTUP
Restart required: the parameter is static (ISSYS_MODIFIABLE = FALSE), so only SCOPE=SPFILE is accepted and the value applies at the next startup. It is instance-wide: set it from CDB$ROOT, because a PDB gets ORA-65040.
When to change it
EXCLUSIVE on any database administered over the network; NONE only where every administrator can authenticate locally through the operating system.
What can go wrong
The file holds password verifiers readable by the oracle OS user, so host access is offline-attack access, and deleting or corrupting it locks out every remote administrative login until it is rebuilt.
Questions about remote_login_passwordfile
What is the default value of remote_login_passwordfile in Oracle?
EXCLUSIVE. EXCLUSIVE (Oracle 23ai/26ai); the file itself is created with orapwd as orapw$ORACLE_SID under dbs on Linux.
Does changing remote_login_passwordfile require a restart?
Yes. Restart required: the parameter is static (ISSYS_MODIFIABLE = FALSE), so only SCOPE=SPFILE is accepted and the value applies at the next startup. It is instance-wide: set it from CDB$ROOT, because a PDB gets ORA-65040.
When should I change remote_login_passwordfile?
EXCLUSIVE on any database administered over the network; NONE only where every administrator can authenticate locally through the operating system.
Back to all Oracle settings, or check the Oracle manual for every option.
Check remote_login_passwordfile on your own server
SQLly runs the query above against Oracle and the other engines in this reference, from one desktop app on macOS, Windows and Linux.
Текст и данные на этой странице: CC BY 4.0, с указанием SQLly (sqlly.app). Код и фрагменты SQL: MIT. Подробнее о лицензии