version 1.27, 2004/06/04 18:18:20 |
version 1.28, 2004/06/06 11:23:25 |
|
|
The user will then be presented with the standard |
The user will then be presented with the standard |
S/Key challenge and allowed to proceed if it is correct. |
S/Key challenge and allowed to proceed if it is correct. |
.Pp |
.Pp |
|
.Nm |
|
prints a sequence number and a one-time password. |
|
This password can not be used to log in; one-time passwords should be |
|
generated using |
|
.Xr skey 1 |
|
first. |
|
The one-time password printed by |
|
.Nm |
|
can be used to verify if the right passphrase has been given to |
|
.Xr skey 1 . |
|
The one-time password with the corresponding sequence number printed by |
|
.Xr skey 1 |
|
should match the one printed by |
|
.Nm . |
|
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl C |
.It Fl C |
|
|
.It Pa /etc/skey |
.It Pa /etc/skey |
directory containing user entries for S/Key |
directory containing user entries for S/Key |
.El |
.El |
|
.Sh EXAMPLES |
|
.Bd -literal |
|
$ skeyinit |
|
Reminder - Only use this method if you are directly connected |
|
or have an encrypted channel. If you are using telnet, |
|
hit return now and use skeyinit -s. |
|
Password: <enter your regular password here> |
|
[Updating user with md5] |
|
Old seed: [md5] host12377 |
|
Enter new secret passphrase: <type a new passphrase here> |
|
Again secret passphrase: <again> |
|
ID user skey is otp-md5 100 host12378 |
|
Next login password: CITE BREW IDLE CAIN ROD DOME |
|
$ otp-md5 -n 3 100 host12378 |
|
Reminder - Do not use this program while logged in via telnet. |
|
Enter secret passphrase: <type your passphrase here> |
|
98: WERE TUG EDDY GEAR GILL TEE |
|
99: NEAR HA TILT FIN LONG SNOW |
|
100: CITE BREW IDLE CAIN ROD DOME |
|
.Ed |
|
.Pp |
|
The one-time password for the next login will have sequence number 99. |
.Sh ERRORS |
.Sh ERRORS |
.Bl -tag -compact -width "skey disabled" |
.Bl -tag -compact -width "skey disabled" |
.It "skey disabled" |
.It "skey disabled" |
|
|
.El |
.El |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr skey 1 , |
.Xr skey 1 , |
.Xr skeyinfo 1 |
.Xr skeyaudit 1 , |
|
.Xr skeyinfo 1 , |
|
.Xr skeyprune 1 |
.Sh AUTHORS |
.Sh AUTHORS |
Phil Karn, Neil M. Haller, John S. Walden, Scott Chasin, Todd Miller |
Phil Karn, Neil M. Haller, John S. Walden, Scott Chasin, Todd Miller |