From 29494f79fbb73a98a791b8e4956ed33481cfe0b3 Mon Sep 17 00:00:00 2001 From: mjl Date: Fri, 7 Jul 2000 13:59:40 +0000 Subject: [PATCH] Update manpage to new options. --- usr.bin/skeyinit/skeyinit.1 | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/usr.bin/skeyinit/skeyinit.1 b/usr.bin/skeyinit/skeyinit.1 index 8413c6b326de..2ea2009dc518 100644 --- a/usr.bin/skeyinit/skeyinit.1 +++ b/usr.bin/skeyinit/skeyinit.1 @@ -1,7 +1,7 @@ -.\" $NetBSD: skeyinit.1,v 1.9 1999/03/22 18:16:43 garbled Exp $ +.\" $NetBSD: skeyinit.1,v 1.10 2000/07/07 13:59:40 mjl Exp $ .\" @(#)skeyinit.1 1.1 10/28/93 .\" -.Dd 28 October 1993 +.Dd 7 June 2000 .Dt SKEYINIT 1 .Os .Sh NAME @@ -9,14 +9,23 @@ .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 -will initialize the system information to allow a user to use -their S/Key to login. -You should use a secure login connection to generate -your first one time password. +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 @@ -28,9 +37,21 @@ then run 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. +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