---
name: "kext_srvtab"
section: "8"
platform: "linux"
package: "kerberos4kth-kdc"
version: "1.2.2-11.2"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/kext_srvtab"
---

# kext\_srvtab(8)

extract service key files from Kerberos key distribution center database

## NAME

**ext\_srvtab** – extract service key files from Kerberos key distribution center database

## SYNOPSIS

**ext\_srvtab** \[**-n**\] \[**-r** *realm*\] \[*hostname*...\]

## DESCRIPTION

**ext\_srvtab** extracts service key files from the Kerberos key distribution center (KDC) database.

Upon execution, it prompts the user to enter the master key string for the database.  If the **-n** option is specified, the master key is instead fetched from the master key cache file.

For each *hostname* specified on the command line,  **ext\_srvtab** creates the service key file *hostname**-new-srvtab*, containing all the entries in the database with an instance field of Ar hostname . This new file contains all the keys registered for Kerberos-mediated service providing programs which use the  krb\_get\_phost(3) principal and instance conventions to run on the host *hostname*. If the **-r** option is specified, the realm fields in the extracted file will match the given realm rather than the local realm.

## DIAGNOSTICS

- verify\_master\_key: Invalid master key, does not match database.

  The master key string entered was incorrect.

## FILES

- *hostname**-new-srvtab*

  Service key file generated for

- */var/kerberos/principal.pag*, */var/kerberos/principal.dir*

  DBM files containing database

- */.k*

  Master key cache file.

## SEE ALSO

read\_service\_key(3), krb\_get\_phost(3)
