$NetBSD: skeyinit.1,v 1.15 2013/05/06 11:00:16 jdf Exp $
@(#)skeyinit.1 1.1 10/28/93

.Dd September 19, 2005 .Dt SKEYINIT 1 .Os .Sh NAME .Nm skeyinit .Nd change password or add user to S/Key authentication system .Sh SYNOPSIS .Nm .Op Fl sxz .Op Fl k Ar passphrase .Op Fl n Ar count .Op Fl p Ar password .Op Fl t Ar hash .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.

p .Nm requires you to type a secret password, so it should be used only on a secure terminal.

p The following options are available: l -tag -width Ds t Fl k Ar passphrase Use pass phrase .Ar passphrase instead of asking for one to be entered. t Fl n Ar count Start the .Xr skey 1 sequence at .Ar count (default is 100). t Fl p Ar password Use password .Ar password instead of asking for one to be entered. t Fl s Allows the user to set the seed and count for complete control of the parameters. To do this run .Nm 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 .Dq cut-and-paste or type the words into the .Nm window. t Fl t Ar hash Selects the hash algorithm to use. Available choices are md4 (the default), md5, or sha1. t Fl x Displays one-time password in hexadecimal instead of ASCII. t Fl z Allows the user to zero their S/Key entry. t 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 l -tag -width /etc/skeykeys t Pa /etc/skeykeys database of information for the S/Key system. .El .Sh SEE ALSO .Xr skey 1 , .Xr skeyaudit 1 , .Xr skeyinfo 1 .Sh AUTHORS .An Phil Karn .An Neil M. Haller .An John S. Walden .An Scott Chasin