Search

29.3. Protecting Keytabs

download PDF
To protect Kerberos keytabs from other users with access to the server, restrict access to the keytab to only the keytab owner. It is recommended to protect the keytabs right after they are retrieved.
For example, to protect the Apache keytab at /etc/httpd/conf/ipa.keytab:
  1. Set the owner of the file to apache.
    # chown apache /etc/httpd/conf/ipa.keytab
  2. Set the permissions for the file to 0600. This grants read, write, and execute permissions to the owner.
    # chmod 0600 /etc/httpd/conf/ipa.keytab
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.