From 2a5b2877495384bbe5db8f3b66ac342f83cd45dc Mon Sep 17 00:00:00 2001 From: Samuel Cabrero Date: Mon, 14 Jan 2019 13:14:47 +0100 Subject: [PATCH 5/8] krb5-1.6.3-ktutil-manpage Import krb5-1.6.3-ktutil-manpage.dif --- src/man/ktutil.man | 12 ++++++++++++ 1 file changed, 12 insertions(+) Index: krb5-1.19.3/src/man/ktutil.man =================================================================== --- krb5-1.19.3.orig/src/man/ktutil.man +++ krb5-1.19.3/src/man/ktutil.man @@ -153,6 +153,18 @@ ktutil: .sp See kerberos(7) for a description of Kerberos environment variables. +.SH REMARKS +Changes to the keytab are appended to the keytab file (i.e., the keytab file +is never overwritten). To directly modify a keytab, save the changes to a +temporary file and then overwrite the keytab file of interest. +.TP +.nf +Example: +ktutil> rkt /etc/krb5.keytab +(modifications to keytab) +ktutil> wkt /tmp/krb5.newtab +ktutil> q +# mv /tmp/krb5.newtab /etc/krb5.keytab .SH SEE ALSO .sp kadmin(1), kdb5_util(8), kerberos(7)