Show Table of Contents
18.9. Deleting an ACI
This section describes how you can delete an ACI from an entry.
18.9.1. Deleting an ACI Using the Command Line
To delete an ACI using the command line:
- Display the ACIs set on the entry. See Section 18.7.1, “Displaying ACIs Using the Command Line”.
- Delete the ACI:
- If only one
aci
attribute is set on the entry or you want to remove all ACIs from the entry:# ldapmodify -D "cn=Directory Manager" -W -p 389 -h server.example.com -x dn: ou=People,dc=example,dc=com changetype: delete delete: aci
- If multiple ACIs exist on the entry and you want to delete a specific ACI, specify the exact ACI:
# ldapmodify -D "cn=Directory Manager" -W -p 389 -h server.example.com -x dn: ou=People,dc=example,dc=com changetype: modify delete: aci aci: (targetattr="userPassword") (version 3.0; acl "Allow users updating their password"; allow (write) userdn= "ldap:///self";)
For further details about deleting attributes, see Section 3.1.4.3, “Deleting Attributes from an Entry”.
18.9.2. Removing an ACI Using the Console
To remove an ACI using the Console:
- Open the Directory Server Console.
- On the Directory tab, right-click the entry, and select Set Access Permissions
- Select the ACI from the list and click.
- Click.