Book Image

Troubleshooting Ubuntu Server

By : Skanda Bhargav
Book Image

Troubleshooting Ubuntu Server

By: Skanda Bhargav

Overview of this book

Table of Contents (16 chapters)
Troubleshooting Ubuntu Server
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Kerberos


Kerberos is used to enable security for machines and users. Kerberos is easy to set up with LDAP. A user requests a ticket-granting ticket (TGT) from the key distribution center (KDC) when they log in. The KDC checks for the username in the database, fetches the key and returns TGT with the key. At the client machine, it is decrypted with the help of user password. The password is never sent across the network. Once the system is authenticated, all the services can use it and the user is not required to authenticate again until the TGT is expired.

Installation

Let's look at the installation and configuration of the Kerberos server. The command to install Kerberos on the Ubuntu Server is as follows:

sudo apt-get install krb5-kdc krb5-admin-server libkrb5-dev krb5-config krb5-user krb5-clients libkadm55

During the installation, the terminal will prompt for the hostname and the realm on which you wish to install the Kerberos server. The last screen will look something similar to the...