Oracle 参数 OS_AUTHENT_PREFIX 官方解释,作用,如何配置最优化建议

本站中文解释

OS_AUTHENT_PREFIX是一个初始化参数,指定Oracle缺省安全认证使用的认证方式(可以是操作系统的认证或者丰富的本地认证)。对于基于Oracle的操作系统的登录,通常采用操作系统认证,而对于基于网络操作系统的登录,则通常采用本地认证。因此,大多数情况下,OS_AUTHENT_PREFIX参数都应被设置为“OPS$”(不区分大小写),这样,使用本地认证方式时,用户名就可以加上“OPS$”前缀,例如:OPS$scott。如果只希望使用本地认证,可以将OS_AUTHENT_PREFIX参数设置空,这时,用户需要特别注意,一定不能忽略前缀,否则,需要指定参数”remote_login_passwordfile=exclusive”,才可正确连接Oracle数据库,并使用本地认证方式登录。此外,还可以将OS_AUTHENT_PREFIX参数设置为特定的前缀,以提高安全性。但对于大多数情况,默认的OPS$也是可以满足要求的。

官方英文解释

OS_AUTHENT_PREFIX specifies a prefix that Oracle Database uses to authenticate users attempting to connect to the server.

Property Description

Parameter type

String

Syntax

OS_AUTHENT_PREFIX = authentication_prefix

Default value

OPS$

Modifiable

No

Modifiable in a PDB

No

Basic

No

Oracle Database concatenates the value of this parameter to the beginning of the user’s operating system account name. When a connection request is attempted, Oracle Database compares the prefixed username with Oracle user names in the database.

The default value of this parameter is OPS$ for backward compatibility with previous versions. However, you might prefer to set the prefix value to “” (a null string), thereby eliminating the addition of any prefix to operating system account names.

Note:

The text of the OS_AUTHENT_PREFIX parameter is case sensitive on some operating systems.

See Also:

  • Oracle Database Security
    Guide
    for more information on setting this parameter

  • Your operating system-specific Oracle documentation for the default value


数据运维技术 » Oracle 参数 OS_AUTHENT_PREFIX 官方解释,作用,如何配置最优化建议