krb5 commit: Document absolute times for 'kinit -s'

Benjamin Kaduk kaduk at MIT.EDU
Fri Jul 6 14:07:52 EDT 2012


https://github.com/krb5/krb5/commit/20f85a81151f69689e3c060e89852687eb6c5a3c
commit 20f85a81151f69689e3c060e89852687eb6c5a3c
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Thu Jul 5 14:34:56 2012 -0400

    Document absolute times for 'kinit -s'
    
    kinit's -s argument takes a parameter, which is first interpreted
    as a time interval ("deltat"), in the same format used for
    the -l and -r arguments.  However, if that fails, the
    time argument is interpreted as an absolute time, in one of
    twelve different possible formats, some of which are subject to
    localization via strptime().  Explicitly listing all twelve
    possible interpretations is overkill, but give the user a hint that
    absolute times are possible at all.

 doc/rst_source/krb_users/user_commands/kinit.rst |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/doc/rst_source/krb_users/user_commands/kinit.rst b/doc/rst_source/krb_users/user_commands/kinit.rst
index 6143c95..a07962d 100644
--- a/doc/rst_source/krb_users/user_commands/kinit.rst
+++ b/doc/rst_source/krb_users/user_commands/kinit.rst
@@ -73,7 +73,11 @@ OPTIONS
     validation before use.
 
     *start_time* specifies the duration of the delay before the ticket
-    can become valid using the same time format as the  **-l** option.
+    can become valid using the same time format as the  **-l** option;
+    alternately, an absolute time may be specified in one of several
+    forms, including *[[yy]yymmdd]hhmm[ss]* (and some variants with
+    *.* or *:* as a field separator), and some locale-specific time
+    specifications.
 
 **-r** *renewable_life*
     requests renewable tickets, with a total lifetime of


More information about the cvs-krb5 mailing list