indexcon(1)

indexcon1

Selinux file context indexing tool

Usage

indexcon FILE [OPTIONS]

Overview

indexcon allows the user to index the file contexts on a SELinux system, beginning with the root directory ( / ) and recursing into subdirectories. The index will be written to FILE. The index can be searched using apol or findcon.

Options

-d DIR, --directory=DIR

Start scanning at directory DIR, and recurse through its subdirectories.

-h, --help

Print help information and exit.

-V, --version

Print version information and exit.

Note

The indexcon utility always operates on "raw" SELinux file contexts. If the system has an installed translation library (i.e., libsetrans), those translations are ignored in favor of reading the original contexts from the filesystem.

Releases

5 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0–8

-V since Debian 5.0 (Lenny).

-v until Debian 4.0 (Etch).

Author

This manual page was written by Jeremy A. Mowery <[email protected]>.

Bugs

Please report bugs via an email to [email protected].

From setools 3.3.8-3.1 in Debian 8 (Jessie). Parsed by carta from the page's man source.