diff options
author | Ken Raeburn <raeburn@mit.edu> | 2009-01-29 23:06:31 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2009-01-29 23:06:31 +0000 |
commit | 1c05ae15a632e07a8dfc6072715a71d338b77a2f (patch) | |
tree | df78c388f1eb9e63463944857a4b729f665ba4d2 /src/kadmin/dbutil/kdb5_util.M | |
parent | 68d597fbc110bffa74e798ac72b60241cd215415 (diff) | |
download | krb5-1c05ae15a632e07a8dfc6072715a71d338b77a2f.zip krb5-1c05ae15a632e07a8dfc6072715a71d338b77a2f.tar.gz krb5-1c05ae15a632e07a8dfc6072715a71d338b77a2f.tar.bz2 |
Support -n (dry-run) and -v (verbose) options for update_princ_encryption
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mkey_migrate@21833 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/dbutil/kdb5_util.M')
-rw-r--r-- | src/kadmin/dbutil/kdb5_util.M | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/kadmin/dbutil/kdb5_util.M b/src/kadmin/dbutil/kdb5_util.M index fc57ffb..294357f 100644 --- a/src/kadmin/dbutil/kdb5_util.M +++ b/src/kadmin/dbutil/kdb5_util.M @@ -225,14 +225,26 @@ This option needs documentation. \fBlist_mkeys\fP This option needs documentation. .TP -\fBupdate_princ_encryption\fP [\fB\-f\fP] [\fBprinc\-pattern\fP] +\fBupdate_princ_encryption\fP [\fB\-f\fP] [\fB\-n\fP] [\fB\-v\fP] [\fBprinc\-pattern\fP] Update all principal records (or only those matching the .B princ\-pattern glob pattern) to re-encrypt the key data using the latest version of -the database master key, if they are encrypted using older versions. +the database master key, if they are encrypted using older versions, +and give a count at the end of the number of principals updated. If the .B \-f option is not given, ask for confirmation before starting to make -changes. +changes. The +.B \-v +option causes each principal processed (each one matching the pattern) +to be listed, and an indication given as to whether it needed updating +or not. +The +.B \-n +option causes the actions not to be taken, only the normal or verbose +status messages displayed; this implies +.B \-f +since no database changes will be performed and thus there's little +reason to seek confirmation. .SH SEE ALSO kadmin(8) |