# odutil

> odutil allows caller to examine or change state of opendirectoryd

To look at internal state information for opendirectoryd, enable or disable logging, or change statistics settings.

- Page: https://loobins.io/binaries/odutil/
- Author: Ethan Nay
- Created: 2023-07-12
- Tactics: Discovery

## Paths

- `/usr/bin/odutil`

## Example Use Cases

### Listing the available node names

List all available node names

```bash
odutil show nodenames
```

- Tactics: Discovery
- Tags: bash, zsh

### Retrieves active session

Retrieves all active sessions

```bash
odutil show sessions
```

- Tactics: Discovery
- Tags: bash, zsh

### Retrieves "Default search policy"

Retrieves the configuration of "Default search policy"

```bash
odutil show configuration /Search
```

- Tactics: Discovery
- Tags: bash, zsh

### Retrieves "Contact search policy"

Retrieves the configuration of "Contact search policy"

```bash
odutil show configuration /Contacts
```

- Tactics: Discovery
- Tags: bash, zsh

## Detections

- No detections at time of publishing

## Resources

- [macOS/binaries/odutil](https://macosbin.com/bin/odutil)
- [odutil man page](https://www.unix.com/man-page/osx/1/odutil/)
