1.\" $NetBSD: skeyinit.1,v 1.16 2013/05/06 13:44:17 jdf Exp $ 2.\" @(#)skeyinit.1 1.1 10/28/93 3.\" 4.Dd September 19, 2005 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 sxz 13.Op Fl k Ar passphrase 14.Op Fl n Ar count 15.Op Fl p Ar password 16.Op Fl t Ar hash 17.Op Ar user 18.Sh DESCRIPTION 19.Nm 20initializes the system so you can use S/Key one-time passwords to login. 21The program will ask you to enter a secret pass phrase; 22enter a phrase of several words in response. 23After the S/Key database 24has been updated you can login using either your regular password 25or using S/Key one-time passwords. 26.Pp 27.Nm 28requires you to type a secret password, so it should be used 29only on a secure terminal. 30.Pp 31The following options are available: 32.Bl -tag -width Ds 33.It Fl k Ar passphrase 34Use pass phrase 35.Ar passphrase 36instead of asking for one to be entered. 37.It Fl n Ar count 38Start the 39.Xr skey 1 40sequence at 41.Ar count 42(default is 100). 43.It Fl p Ar password 44Use password 45.Ar password 46instead of asking for one to be entered. 47.It Fl s 48Allows the user to set the seed and count for complete control 49of the parameters. 50To do this run 51.Nm 52in one window and put in your count and seed; then run 53.Xr skey 1 54in another window to generate the correct 6 english words 55for that count and seed. 56You can then 57.Dq cut-and-paste 58or type the words into the 59.Nm 60window. 61.It Fl t Ar hash 62Selects the hash algorithm to use. 63Available choices are md4 (the default), md5, or sha1. 64.It Fl x 65Displays one-time password in hexadecimal instead of ASCII. 66.It Fl z 67Allows the user to zero their S/Key entry. 68.It Ar user 69The username to be changed/added. 70By default the current user is operated on, only root may 71change other user's entries. 72.El 73.Sh FILES 74.Bl -tag -width /etc/skeykeys 75.It Pa /etc/skeykeys 76database of information for the S/Key system. 77.El 78.Sh SEE ALSO 79.Xr skey 1 , 80.Xr skeyaudit 1 , 81.Xr skeyinfo 1 82.Sh AUTHORS 83.An Phil Karn 84.An Neil M. Haller 85.An John S. Walden 86.An Scott Chasin 87