From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Create a Kerberos database

Create a Kerberos database

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Create a Kerberos database

- [Instructor] Now let's create a Kerberos database. To do so, we'll run the kdb5_util command. In a terminal type in sudo kdb5_util create -s -r LOCALNET.COM. Enter your password if prompted. It will also prompt you to choose a master password, enter it twice and do not forget it. Now let's enable and start the services. Type in clear and then hit Enter. Type in sudo systemctl enable kadmin and hit Enter. Bring your line back and change kadmin to krb5kdc and hit Enter. This enables both the kadmin and krb5kdb services. Type in clear, then type in sudo systemctl start kadmin, and hit Enter. Bring back your line again and change kadmin to krb5kdc and hit Enter again. Let's now create a firewall rule to allow incoming Kerberos connections. Type in clear, and then we'll type in sudo firewall-cmd --zone=public - -permanent --add-service=kerberos, and hit Enter. Now we need to reload the firewall config. Type in sudo firewall-cmd --reload, and hit Enter. We're now going to create some new…

Contents