2004-12-01 15:01:05 +03:00
|
|
|
.\" $NetBSD: skeyinit.1,v 1.12 2004/12/01 12:01:05 wiz Exp $
|
1994-05-24 10:47:42 +04:00
|
|
|
.\" @(#)skeyinit.1 1.1 10/28/93
|
|
|
|
.\"
|
2004-12-01 15:01:05 +03:00
|
|
|
.Dd December 1, 2004
|
1994-05-24 10:47:42 +04:00
|
|
|
.Dt SKEYINIT 1
|
1999-03-22 21:16:34 +03:00
|
|
|
.Os
|
1994-05-24 10:47:42 +04:00
|
|
|
.Sh NAME
|
1997-10-20 03:24:42 +04:00
|
|
|
.Nm skeyinit
|
2001-04-09 16:35:00 +04:00
|
|
|
.Nd change password or add user to S/Key authentication system
|
1994-05-24 10:47:42 +04:00
|
|
|
.Sh SYNOPSIS
|
1997-10-20 03:24:42 +04:00
|
|
|
.Nm
|
2004-12-01 15:01:05 +03:00
|
|
|
.Op Fl sxz
|
2000-07-07 17:59:40 +04:00
|
|
|
.Op Fl n Ar count
|
|
|
|
.Op Fl t Ar hash
|
1994-05-24 10:47:42 +04:00
|
|
|
.Op Ar user
|
|
|
|
.Sh DESCRIPTION
|
1997-10-20 03:24:42 +04:00
|
|
|
.Nm
|
2000-07-07 17:59:40 +04:00
|
|
|
initializes the system so you can use S/Key one-time passwords to login.
|
|
|
|
The program will ask you to enter a secret pass phrase;
|
|
|
|
enter a phrase of several words in response.
|
|
|
|
After the S/Key database
|
|
|
|
has been updated you can login using either your regular password
|
|
|
|
or using S/Key one-time passwords.
|
|
|
|
.Pp
|
|
|
|
.Nm
|
|
|
|
requires you to type a secret password, so it should be used
|
|
|
|
only on a secure terminal.
|
1994-05-24 10:47:42 +04:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
2004-12-01 15:01:05 +03:00
|
|
|
.It Fl n Ar count
|
|
|
|
Start the
|
|
|
|
.Xr skey 1
|
|
|
|
sequence at
|
|
|
|
.Ar count
|
|
|
|
(default is 100).
|
1994-05-24 10:47:42 +04:00
|
|
|
.It Fl s
|
|
|
|
allows the user to set the seed and count for complete control
|
|
|
|
of the parameters.
|
2004-12-01 15:01:05 +03:00
|
|
|
To do this run
|
|
|
|
.Nm
|
|
|
|
in one window and put in your count and seed; then run
|
1997-10-20 03:24:42 +04:00
|
|
|
.Xr skey 1
|
1994-05-24 10:47:42 +04:00
|
|
|
in another window to generate the correct 6 english words
|
|
|
|
for that count and seed.
|
2004-12-01 15:01:05 +03:00
|
|
|
You can then
|
|
|
|
.Dq cut-and-paste
|
|
|
|
or type the words into the
|
|
|
|
.Nm
|
|
|
|
window.
|
2000-07-07 17:59:40 +04:00
|
|
|
.It Fl t Ar hash
|
|
|
|
Selects the hash algorithm to use.
|
2004-12-01 15:01:05 +03:00
|
|
|
Available choices are md4 (the default), md5, or sha1.
|
|
|
|
.It Fl x
|
|
|
|
Displays one-time password in hexadecimal instead of ASCII.
|
|
|
|
.It Fl z
|
|
|
|
Allows the user to zero their S/Key entry.
|
1994-05-24 10:47:42 +04:00
|
|
|
.It Ar user
|
2000-07-07 17:59:40 +04:00
|
|
|
The username to be changed/added.
|
|
|
|
By default the current user is operated on, only root may
|
|
|
|
change other user's entries.
|
1999-03-09 06:29:51 +03:00
|
|
|
.El
|
1994-05-24 10:47:42 +04:00
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /etc/skeykeys
|
|
|
|
.It Pa /etc/skeykeys
|
2004-12-01 15:01:05 +03:00
|
|
|
database of information for the S/Key system.
|
1999-03-10 08:14:51 +03:00
|
|
|
.El
|
1994-05-24 10:47:42 +04:00
|
|
|
.Sh SEE ALSO
|
1997-10-20 03:24:42 +04:00
|
|
|
.Xr skey 1 ,
|
|
|
|
.Xr skeyaudit 1 ,
|
1997-11-01 09:21:01 +03:00
|
|
|
.Xr skeyinfo 1
|
1994-05-24 10:47:42 +04:00
|
|
|
.Sh AUTHORS
|
|
|
|
Phil Karn, Neil M. Haller, John S. Walden, Scott Chasin
|