暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

About the OracleNetAdmins Group

原创 闓馨 2022-08-19
335

To use Oracle Net Manager, you must be a member of the OracleNetAdmins group or the OracleContextAdmins group. Oracle Net Configuration Assistant establishes these access rights for these groups during Oracle Context creation.

Adding Users To the OracleNetAdmins Group
Removing Users From the OracleNetAdmins Group
Changing Ownership of the OracleNetAdmins Group
Parent topic: Managing Oracle Net Services

7.2.1 Adding Users To the OracleNetAdmins Group
The following procedure describes how to add a user to the OracleNetAdmins group using the ldapmodify command:

Create an LDIF (Lightweight Directory Interchange Format) file that specifies that you want to add a user to the OracleNetAdmins group.

You can use the following sample LDIF file. Use the appropriate DN for cn=OracleNetAdmins and the user that you want to add.

dn: cn=OracleNetAdmins,cn=OracleContext,…
changetype: modify
add: uniquemember
uniquemember: DN of user being added to group
Enter the following command at the command line to refresh the file:

$ ldapmodify -h directory_host -p port -D binddn -q -f ldif_file
In the preceding command, directory_host is the directory server host, port is the listening TCP/IP port for the directory server, binddn is the directory administrator or user DN, and ldif_file is the input file name. If the port is not specified, then the default port of 389 is used. The -q option prompts for a single bind password.

Parent topic: About the OracleNetAdmins Group

7.2.2 Removing Users From the OracleNetAdmins Group
The following procedure describes how to remove a user from the OracleNetAdmins group with the ldapmodify command:

Create an LDIF file that specifies that you want to delete a user to the OracleNetAdmins group.

You can use the following sample LDIF file. Enter the appropriate DN for cn=OracleNetAdmins and the user that you want to delete.

dn: cn=OracleNetAdmins,cn=OracleContext,…
changetype: modify
delete: uniquemember
uniquemember: DN of user being deleted from group
Enter the following command to delete the user:

$ ldapmodify -h directory_host -p port -D binddn -q -f ldif_file
In the preceding command, directory_host is the directory server host, port is the listening TCP/IP port for the directory server, binddn is the directory administrator or user DN, and ldif_file is the input file name. If the port is not specified, then the default port of 389 is used. The -q option prompts for a single bind password.

Parent topic: About the OracleNetAdmins Group

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论