Overview

Since fmb uses rsh for remote backups, and does backups of disks that have kerberos related information, there are several ways in which fmb can have interactions with kerberos.

Note: The kinit command below has had a missing -k option added.

Reccomendation

The recommended scheme is to have a script to launch your fmb commands which: Then you add
host/backupserver.fnal.gov@FNAL.GOV
to the ~root/.k5login on each host you are backing up.

Note: you probably want to add an "encrypt = false" to the rsh stanza of /etc/krb5.confon your backup system (the system where you start fmb), since encrypting the rsh session will severely impact backup performance.

Kerberos keytab and cache files

System keytab files

We further recommend that you exclude raw keytab files from backups of the root filesystem -- using ncpio format, have a -E etc/krb5.ketyab option in your backup options for the root filesystem, or include etc/krb5.keytab in the list of any files you are already excluding.

If you are using dump for backups, or the fmb exclude file stuff is problematic on your system, you can put your krb5.keytab in some partition that you are not backing up, and symlink it to /etc/krb5.keytab.

For disaster recovery, we recommend having a pgp-encrypted copy of the keytab file called, say, /etc/krb5.pgp.keytab which is encrypted to be readable by the sysadmins of the cluster. (i.e. do a
pgp -feast mengel kschu stan rayp < /etc/krb5.keytab > /etc/krb5.pgp.keytab
assuming mengel, kschu, stan, and rayp are the administrators of this system).

We also reccomend that you do keep a copy of your /etc/krb5.keytab in any alternate-boot root partitions you build for disaster recovery.

key cache files

Similarly, since kerberos by default puts key cache files in /tmp, you should exclude /tmp from your backups. Most people do this anyway, but it is now a security issue, since someone could snag a key cache file from the network backup stream that they cannot read (due to permissions) through the filesystem.

Mixed clusters

There are several ways to deal with the mixed cluster situation: