Skip to content

Commit 479a1a8

Browse files
committed
Mention OS groups for privileged connections
1 parent 49b70a9 commit 479a1a8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/api.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3650,6 +3650,13 @@ oracledb.getConnection(
36503650
);
36513651
```
36523652
3653+
Note that if node-oracledb is using the Oracle client libraries
3654+
located in the Oracle Database installation, i.e. is on the same
3655+
machine as the database and is not using Oracle Instant Client, then
3656+
operating system privileges may be used for authentication. In this
3657+
case the password value is ignored. For example on Linux, membership
3658+
of the operating system [`dba`][96] group allows `SYSDBA` connections.
3659+
36533660
Administrative privileges can allow access to a database instance even
36543661
when the database is not open. Control of these privileges is totally
36553662
outside of the database itself. Care must be taken with
@@ -7093,3 +7100,4 @@ When upgrading from node-oracledb version 2.0 to version 2.1:
70937100
[93]: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/racad/introduction-to-oracle-rac.html#GUID-D04AA2A7-2E68-4C5C-BD6E-36C62427B98E
70947101
[94]: https://github.com/oracle/node-oracledb/blob/node-oracledb-v1/doc/api.md
70957102
[95]: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/tgsql/toc.htm
7103+
[96]: https://docs.oracle.com/en/database/oracle/oracle-database/12.2/ladbi/standard-oracle-database-groups-for-database-administrators.html#GUID-0A789F28-169A-43D6-9E48-AAE20D7B0C44

0 commit comments

Comments
 (0)