Merge from vendor branch HEIMDAL:
[dragonfly.git] / crypto / heimdal-0.6.3 / appl / otp / otp.1
1 .\" Copyright (c) 1996, 2000 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden). 
3 .\" All rights reserved. 
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without 
6 .\" modification, are permitted provided that the following conditions 
7 .\" are met: 
8 .\"
9 .\" 1. Redistributions of source code must retain the above copyright 
10 .\"    notice, this list of conditions and the following disclaimer. 
11 .\"
12 .\" 2. Redistributions in binary form must reproduce the above copyright 
13 .\"    notice, this list of conditions and the following disclaimer in the 
14 .\"    documentation and/or other materials provided with the distribution. 
15 .\"
16 .\" 3. Neither the name of the Institute nor the names of its contributors 
17 .\"    may be used to endorse or promote products derived from this software 
18 .\"    without specific prior written permission. 
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
30 .\" SUCH DAMAGE. 
31 .\" 
32 .\" $Id: otp.1,v 1.3 2003/02/16 21:10:08 lha Exp $
33 .\"
34 .Dd November 17, 1996
35 .Dt OTP 1
36 .Os KTH-KRB
37 .Sh NAME
38 .Nm otp
39 .Nd
40 manages one-time passwords
41 .Sh SYNOPSIS
42 .Nm otp
43 .Op Fl dhlor
44 .Op Fl f Ar algorithm
45 .Op Fl u Ar user
46 .Ar sequence-number
47 .Ar seed
48 .Sh DESCRIPTION
49 The
50 .Nm
51 program initializes and updates your current series of one-time
52 passwords (OTPs).
53 .Pp
54 Use this to set a new series of one-time passwords.  Only perform this
55 on the console or over an encrypted link as you will have to supply
56 your pass-phrase.  The other two parameters are
57 .Ar sequence-number
58 and
59 .Ar seed .
60 .Pp
61 Options are:
62 .Bl -tag -width Ds
63 .It Fl d
64 To delete a one-time password.
65 .It Fl f
66 Choose a different
67 .Ar algorithm
68 from the default md5.  Pick any of: md4, md5, and sha.
69 .It Fl h
70 For getting a help message.
71 .It Fl l
72 List the current table of one-time passwords.
73 .It Fl o
74 To open (unlock) the otp-entry for a user.
75 .It Fl r
76 To renew a one-time password series.  This operation can be performed
77 over an potentially eavesdropped link because you do not supply the
78 pass-phrase.  First you need to supply the current one-time password
79 and then the new one corresponding to the supplied
80 .Ar sequence-number
81 and
82 .Ar seed .
83 .It Fl u
84 To choose a different
85 .Ar user
86 to set one-time passwords for.  This only works when running
87 .Nm
88 as root.
89 .El
90 .Sh SEE ALSO
91 .Xr otpprint 1