NetBSD/usr.bin/skeyinit/skeyinit.1

67 lines
1.7 KiB
Groff

.\" $NetBSD: skeyinit.1,v 1.11 2001/04/09 12:35:00 wiz Exp $
.\" @(#)skeyinit.1 1.1 10/28/93
.\"
.Dd June 7, 2000
.Dt SKEYINIT 1
.Os
.Sh NAME
.Nm skeyinit
.Nd change password or add user to S/Key authentication system
.Sh SYNOPSIS
.Nm
.Op Fl n Ar count
.Op Fl s
.Op Fl t Ar hash
.Op Fl z
.Op Ar user
.Sh DESCRIPTION
.Nm
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.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl s
allows the user to set the seed and count for complete control
of the parameters.
To do this run skeyinit in one window and put in your count and seed;
then run
.Xr skey 1
in another window to generate the correct 6 english words
for that count and seed.
You can then "cut-and-paste" or type the words into the skeyinit window.
.It Fl z
Allows the user to zero their S/Key entry.
.It Fl n Ar count
Start the
.Nm skey
sequence at
.Ar count
(default is 100).
.It Fl t Ar hash
Selects the hash algorithm to use.
Available choices are md4 (the default), md5 or sha1.
.It Ar user
The username to be changed/added.
By default the current user is operated on, only root may
change other user's entries.
.El
.Sh FILES
.Bl -tag -width /etc/skeykeys
.It Pa /etc/skeykeys
data base of information for S/Key system.
.El
.Sh SEE ALSO
.Xr skey 1 ,
.Xr skeyaudit 1 ,
.Xr skeyinfo 1
.Sh AUTHORS
Phil Karn, Neil M. Haller, John S. Walden, Scott Chasin