Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KEYINFO(1)		  BSD General Commands Manual		    KEYINFO(1)

NAME
     keyinfo --	display	current	S/Key sequence number and seed

SYNOPSIS
     keyinfo [username]

DESCRIPTION
     keyinfo takes an optional user name and displays the user's current se-
     quence number and seed found in the S/Key database	/etc/skeykeys.

     The command can be	useful when generating a list of passwords for use on
     a field trip, by combining	with the command key(1)	in the form:

	   key -n  <number of passwords> `keyinfo` | lpr

     The optional username argument specifies the S/Key	user for whom to dis-
     play the information.  The	default	is to display S/Key information	on the
     user who invokes the command.  Only the superuser can ask for another
     user's key	information.

EXAMPLES
     Usage example:

	   $ keyinfo

     This would	produce	the following output:

	   98 ws91340

DIAGNOSTICS
     The keyinfo utility exits with status 0 if	a key for the requested	user
     has been found, else with status 1.

SEE ALSO
     key(1), keyinit(1)

AUTHORS
     Original command by Phil Karn, Neil M. Haller and John S. Walden.
     Rewritten in Perl by Jorg Wunsch so that it could be made setuid, with
     the S/Key keys file read-protected	from the users.	 Rewritten in C	by
     Warner Losh.

BSD				April 26, 1996				   BSD

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | DIAGNOSTICS | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=keyinfo&sektion=1&manpath=FreeBSD+4.7-RELEASE>

home | help