From da415a6c2bf7c396654aeacadc2788e25312c766 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Fri, 6 Apr 2001 10:00:35 +0000 Subject: [PATCH] document run-command-mode git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9781 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kuser/kinit.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/kuser/kinit.1 b/kuser/kinit.1 index 24f589b2b..3a276ed5f 100644 --- a/kuser/kinit.1 +++ b/kuser/kinit.1 @@ -44,7 +44,7 @@ acquire initial tickets .Op Fl -anonymous .Op Fl -version .Op Fl -help -.Op Ar principal +.Op Ar principal Op Ar command .Sh DESCRIPTION .Nm is used to authenticate to the kerberos server as @@ -185,6 +185,13 @@ options can be set to a default value from the .Dv appdefaults section in krb5.conf, see .Xr krb5_appdefault 3 . +.Pp +If a +.Ar command +is given, +.Nm kinit +will setup new credentials caches, and AFS PAG, and then run the given +command. When it finishes the credentials will be removed. .Sh ENVIRONMENT .Bl -tag -width Ds .It Ev KRB5CCNAME