dscl changei <path> <key> <value index> <new val>
Replaces the value at the given index in the list of values of the given key with the new value in the specified record
Arguments
Name | Description |
---|---|
path | Path to the record |
key | Directory Service record attribute type |
value index | Value index of the key |
new val | New value of the key |