From 98accd1235592257d3f4f23709ad7677d9bb744d Mon Sep 17 00:00:00 2001 From: Paul Park Date: Mon, 21 Aug 1995 21:12:53 +0000 Subject: [PATCH] Add description of -s and -R. Update description of -e and -k git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6556 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/edit/kdb5_edit.M | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/src/admin/edit/kdb5_edit.M b/src/admin/edit/kdb5_edit.M index db7e514fb..2f2798def 100644 --- a/src/admin/edit/kdb5_edit.M +++ b/src/admin/edit/kdb5_edit.M @@ -42,14 +42,32 @@ kdb5_edit \- edit a Kerberos V5 principal database .I enctype ] [ .B \-m +] [ +.B \-R +.I command +] [ +.B \-s +.I script ] .br .SH DESCRIPTION .I kdb5_edit allows an administrator to add, delete, and edit entries in a Kerberos version 5 principal database. -After the master key is verified, the administrator is placed into a -shell-like command loop, from which he may issue commands to modify the +After themaster key is verified, commands are to +.I kdb5_edit +are issued using one of three mechanisms. If a single command is supplied +using the +.B \-R +.I command +argument, then that single command is processed and execution ceases. If a +script file is provided using the +.B \-s +.I script +argument, then commands are read from this file until either an error occurs +or an end of file is detected. Finally, if neither a command or a script is +specified, the invoker is placed into a shell-like command loop, from which +[s]he may issue commands to modify the database. .PP The @@ -69,9 +87,8 @@ by default the database is in DEFAULT_DBM_FILE (defined in ). The .B \-k .I keytype -option specifies the key type (as an ascii representation of a decimal -number) of the master key in the database; the default is -DEFAULT_KDC_KEYTYPE (defined in ). +option specifies the key type of the master key in the database; the default is +the string representation of DEFAULT_KDC_KEYTYPE (defined in ). .PP The .B \-M @@ -82,9 +99,9 @@ the default is KRB5_KDB_M_NAME (defined in ). The .B \-e .I enctype -option specifies the encryption type (as an ascii representation of a decimal -number) to be used when placing entries in -the database; the default is DEFAULT_KDC_ETYPE (defined in ). +option specifies the encryption type to be used when placing entries in +the database; the default is the string representation of DEFAULT_KDC_ETYPE +(defined in ). .PP The .B \-m @@ -146,4 +163,4 @@ Exit program. .SH SEE ALSO krb5(3), krb5kdc(8), ss(3) .SH BUGS -This routine must be run interactively. There is no command-line interface. + -- 2.26.2