WARNSify, fix .Nm usage, xref all s/key related programs

This commit is contained in:
lukem 1997-10-19 23:24:42 +00:00
parent ae938c9b7a
commit adb472c43d
2 changed files with 11 additions and 8 deletions

View File

@ -1,18 +1,18 @@
.\" $NetBSD: skeyinit.1,v 1.4 1995/07/07 22:24:09 jtc Exp $
.\" $NetBSD: skeyinit.1,v 1.5 1997/10/19 23:24:42 lukem Exp $
.\" @(#)skeyinit.1 1.1 10/28/93
.\"
.Dd 28 October 1993
.Dt SKEYINIT 1
.Os NetBSD 4
.Sh NAME
.Nm S/key
.Nm skeyinit
.Nd change password or add user to S/Key authentication system.
.Sh SYNOPSIS
.Nm skeyinit
.Nm
.Op Fl s
.Op Ar user
.Sh DESCRIPTION
.Nm skeyinit
.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
@ -24,7 +24,7 @@ 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
.Nm skey
.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.
@ -36,6 +36,8 @@ operated on.
.It Pa /etc/skeykeys
data base of information for S/Key system.
.Sh SEE ALSO
.Xr skey 1
.Xr skey 1 ,
.Xr skeyaudit 1 ,
.Xr skeyinfo 1 ,
.Sh AUTHORS
Phil Karn, Neil M. Haller, John S. Walden, Scott Chasin

View File

@ -1,4 +1,4 @@
/* $NetBSD: skeyinit.c,v 1.7 1997/02/11 09:25:24 mrg Exp $ */
/* $NetBSD: skeyinit.c,v 1.8 1997/10/19 23:24:45 lukem Exp $ */
/* S/KEY v1.1b (skeyinit.c)
*
@ -28,6 +28,7 @@
#define NAMELEN 2
int main __P((int, char **));
int skeylookup __ARGS((struct skey * mp, char *name));
int
@ -40,7 +41,7 @@ main(argc, argv)
char hostname[MAXHOSTNAMELEN];
char seed[18], tmp[80], key[8], defaultseed[17];
char passwd[256], passwd2[256], tbuf[27], buf[60];
char lastc, me[80], user[8], *salt, *p, *pw;
char lastc, me[80], *salt, *p, *pw;
struct skey skey;
struct passwd *pp;
struct tm *tm;