---
name: "krb5_newrealm"
section: "8"
platform: "linux"
package: "krb5-admin-server"
version: "1.21.3-5+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/krb5_newrealm"
---

# krb5\_newrealm(8)

Create a new Kerberos Realm

## NAME

krb5\_newrealm — Create a new Kerberos Realm

## SYNOPSIS

**krb5\_newrealm**

## Description

This script attempts to create a  Kerberos realm.  It assumes that none of the realm components  exists, except for the /etc/krb5.conf file. (Normally this file  is automatically generated at package installation, but if you  skipped the configuration step, you will need to manually generate  this file before running krb5\_newrealm.)  It creates the database, initializes the stash file in  **/etc/krb5kdc/stash** containing the master key for  the database, starts the KDC and Kerberos admin server,  and creates a stub **/etc/krb5kdc/kadm5.acl** file.
