Annotation of src/usr.bin/skeyinit/skeyinit.1, Revision 1.22
1.22 ! millert 1: .\" $OpenBSD: skeyinit.1,v 1.21 2002/05/16 03:50:42 millert Exp $
1.1 deraadt 2: .\" $NetBSD: skeyinit.1,v 1.4 1995/07/07 22:24:09 jtc Exp $
3: .\" @(#)skeyinit.1 1.1 10/28/93
4: .\"
1.11 millert 5: .Dd February 24, 1998
1.1 deraadt 6: .Dt SKEYINIT 1
1.8 michaels 7: .Os
1.1 deraadt 8: .Sh NAME
1.7 millert 9: .Nm skeyinit
1.14 aaron 10: .Nd change password or add user to S/Key authentication system
1.1 deraadt 11: .Sh SYNOPSIS
12: .Nm skeyinit
13: .Op Fl s
1.21 millert 14: .Op Fl x
1.2 deraadt 15: .Op Fl z
1.21 millert 16: .Op Fl C
17: .Op Fl D
18: .Op Fl E
19: .Op Fl a Ar auth-type
1.9 millert 20: .Op Fl n Ar count
1.15 millert 21: .Oo
22: .Fl md4 | Fl md5 | Fl sha1 |
23: .Fl rmd160
24: .Oc
1.1 deraadt 25: .Op Ar user
26: .Sh DESCRIPTION
1.16 aaron 27: .Nm
28: initializes the system so you can use S/Key one-time passwords to login.
29: The program will ask you to enter a secret pass phrase;
1.17 aaron 30: enter a phrase of several words in response.
31: After the S/Key database
1.7 millert 32: has been updated you can login using either your regular password
33: or using S/Key one-time passwords.
34: .Pp
1.16 aaron 35: .Nm
1.7 millert 36: requires you to type a secret password, so it should be used
1.16 aaron 37: only on a secure terminal.
38: For example, on the console of a
39: workstation or over an encrypted network session.
40: If you are using
41: .Nm
1.7 millert 42: while logged in over an untrusted network, follow the instructions
43: given below with the
44: .Fl s
45: option.
46: .Pp
47: Before initializing an S/Key entry, the user must authenticate
1.16 aaron 48: using either a standard password or an S/Key challenge.
49: When used over an untrusted network, a password of
1.7 millert 50: .Sq s/key
1.16 aaron 51: should be used.
52: The user will then be presented with the standard
1.7 millert 53: S/Key challenge and allowed to proceed if it is correct.
1.18 aaron 54: .Pp
55: The options are as follows:
1.19 aaron 56: .Bl -tag -width Ds
1.21 millert 57: .It Fl C
58: Converts from the old-style
59: .Pa /etc/skeykeys
60: database to a new-style database where user records are stored in the
61: .Pa /etc/skey
62: directory.
63: If an entry already exists in the new-style database it will not
64: be overwritten.
65: .It Fl D
66: Disables access to the S/Key database.
67: Only the superuser may use the
68: .Fl D
69: option.
70: .It Fl E
71: Enables access to the S/Key database.
72: Only the superuser may use the
73: .Fl E
74: option.
1.1 deraadt 75: .It Fl s
1.7 millert 76: Set secure mode where the user is expected to have used a secure
1.16 aaron 77: machine to generate the first one-time password.
78: Without the
1.7 millert 79: .Fl s
1.12 aaron 80: option the system will assume you are directly connected over secure
1.16 aaron 81: communications and prompt you for your secret password.
82: The
1.7 millert 83: .Fl s
84: option also allows one to set the seed and count for complete
1.16 aaron 85: control of the parameters.
86: You can use
87: .Ic skeyinit -s
1.7 millert 88: in combination with the
1.1 deraadt 89: .Nm skey
1.7 millert 90: command to set the seed and count if you do not like the defaults.
91: To do this run
1.16 aaron 92: .Nm
1.7 millert 93: in one window and put in your count and seed, then run
94: .Nm skey
1.13 aaron 95: in another window to generate the correct 6 English words for that
1.16 aaron 96: count and seed.
97: You can then "cut-and-paste" or type the words into the
98: .Nm
1.7 millert 99: window.
1.21 millert 100: .It Fl x
101: Displays pass phrase in hexadecimal instead of ASCII.
1.2 deraadt 102: .It Fl z
1.7 millert 103: Allows the user to zero their S/Key entry.
1.21 millert 104: .It Fl a Ar auth-type
105: Specify an authentication type such as
106: .Dq krb4
107: or
108: .Dq krb5 .
1.9 millert 109: .It Fl n Ar count
110: Start the
111: .Nm skey
112: sequence at
113: .Ar count
114: (default is 100).
1.5 millert 115: .It Fl md4
116: Selects MD4 as the hash algorithm.
117: .It Fl md5
118: Selects MD5 as the hash algorithm.
119: .It Fl sha1
1.6 millert 120: Selects SHA (NIST Secure Hash Algorithm Revision 1) as the hash algorithm.
1.10 millert 121: .It Fl rmd160
122: Selects RMD-160 (160 bit Ripe Message Digest) as the hash algorithm.
1.1 deraadt 123: .It Ar user
1.17 aaron 124: The username to be changed/added.
125: By default the current user is operated on.
1.18 aaron 126: .El
1.11 millert 127: .Sh ERRORS
1.20 millert 128: .Bl -tag -compact -width "skey disabled"
129: .It "skey disabled"
1.21 millert 130: .Pa /etc/skey
131: does not exist or is not accessable by the user.
132: The superuser may enable
133: .Nm
134: via the
135: .Fl E
136: flag.
1.20 millert 137: .El
1.1 deraadt 138: .Sh FILES
1.21 millert 139: .Bl -tag -width /etc/skey
140: .It Pa /etc/skey
141: directory containing user entries for S/Key
1.20 millert 142: .El
1.1 deraadt 143: .Sh SEE ALSO
1.22 ! millert 144: .Xr skey 1 ,
! 145: .Xr skeyinfo 1
1.1 deraadt 146: .Sh AUTHORS
1.21 millert 147: Phil Karn, Neil M. Haller, John S. Walden, Scott Chasin, Todd Miller