1.\" $NetBSD: skeyinit.1,v 1.11 2001/04/09 12:35:00 wiz Exp $ 2.\" @(#)skeyinit.1 1.1 10/28/93 3.\" 4.Dd June 7, 2000 5.Dt SKEYINIT 1 6.Os 7.Sh NAME 8.Nm skeyinit 9.Nd change password or add user to S/Key authentication system 10.Sh SYNOPSIS 11.Nm 12.Op Fl n Ar count 13.Op Fl s 14.Op Fl t Ar hash 15.Op Fl z 16.Op Ar user 17.Sh DESCRIPTION 18.Nm 19initializes the system so you can use S/Key one-time passwords to login. 20The program will ask you to enter a secret pass phrase; 21enter a phrase of several words in response. 22After the S/Key database 23has been updated you can login using either your regular password 24or using S/Key one-time passwords. 25.Pp 26.Nm 27requires you to type a secret password, so it should be used 28only on a secure terminal. 29.Sh OPTIONS 30.Bl -tag -width Ds 31.It Fl s 32allows the user to set the seed and count for complete control 33of the parameters. 34To do this run skeyinit in one window and put in your count and seed; 35then run 36.Xr skey 1 37in another window to generate the correct 6 english words 38for that count and seed. 39You can then "cut-and-paste" or type the words into the skeyinit window. 40.It Fl z 41Allows the user to zero their S/Key entry. 42.It Fl n Ar count 43Start the 44.Nm skey 45sequence at 46.Ar count 47(default is 100). 48.It Fl t Ar hash 49Selects the hash algorithm to use. 50Available choices are md4 (the default), md5 or sha1. 51.It Ar user 52The username to be changed/added. 53By default the current user is operated on, only root may 54change other user's entries. 55.El 56.Sh FILES 57.Bl -tag -width /etc/skeykeys 58.It Pa /etc/skeykeys 59data base of information for S/Key system. 60.El 61.Sh SEE ALSO 62.Xr skey 1 , 63.Xr skeyaudit 1 , 64.Xr skeyinfo 1 65.Sh AUTHORS 66Phil Karn, Neil M. Haller, John S. Walden, Scott Chasin 67