This is the command indexcon that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
indexcon - SELinux file context indexing tool
indexcon FILE [OPTIONS]
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.
-d DIR, --directory=DIR
Start scanning at directory DIR, and recurse through its subdirectories.
Print help information and exit.
Print version information and exit.
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.
Use indexcon online using onworks.net services