xref: /netbsd-src/libexec/makekey/makekey.8 (revision 8e6ab8837d8d6b9198e67c1c445300b483e2f304)
1*8e6ab883Sagc.\"	$NetBSD: makekey.8,v 1.10 2003/08/07 09:46:45 agc Exp $
2a5a68ff5Smrg.\"
3037708cbStls.\" Copyright (c) 1990, 1991, 1993
4037708cbStls.\"	The Regents of the University of California.  All rights reserved.
561f28255Scgd.\"
661f28255Scgd.\" Redistribution and use in source and binary forms, with or without
761f28255Scgd.\" modification, are permitted provided that the following conditions
861f28255Scgd.\" are met:
961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright
1061f28255Scgd.\"    notice, this list of conditions and the following disclaimer.
1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright
1261f28255Scgd.\"    notice, this list of conditions and the following disclaimer in the
1361f28255Scgd.\"    documentation and/or other materials provided with the distribution.
14*8e6ab883Sagc.\" 3. Neither the name of the University nor the names of its contributors
1561f28255Scgd.\"    may be used to endorse or promote products derived from this software
1661f28255Scgd.\"    without specific prior written permission.
1761f28255Scgd.\"
1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2161f28255Scgd.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2861f28255Scgd.\" SUCH DAMAGE.
2961f28255Scgd.\"
30037708cbStls.\"     from: @(#)makekey.8	8.2 (Berkeley) 12/11/93
3161f28255Scgd.\"
32037708cbStls.Dd December 11, 1993
3361f28255Scgd.Dt MAKEKEY 8
3461f28255Scgd.Os
3561f28255Scgd.Sh NAME
3661f28255Scgd.Nm makekey
3761f28255Scgd.Nd make encrypted keys or passwords
3861f28255Scgd.Sh SYNOPSIS
39f5d3fbbcSenami.Nm
4061f28255Scgd.Sh DESCRIPTION
41f5d3fbbcSenami.Nm
42037708cbStlsencrypts a key and salt which it reads from the standard input
4361f28255Scgdand writes the result to the standard output.
4461f28255ScgdThe key is expected to be
4593f9db1bSmsaitoheight bytes; the salt is expected to be two bytes.
4661f28255ScgdSee
4761f28255Scgd.Xr crypt 3
4861f28255Scgdfor more information on what characters the key and salt can contain
4961f28255Scgdand how the encrypted value is calculated.
5061f28255Scgd.Sh SEE ALSO
5161f28255Scgd.Xr login 1 ,
5261f28255Scgd.Xr crypt 3
5361f28255Scgd.Sh HISTORY
5461f28255ScgdA
5561f28255Scgd.Nm
5638023541Sjtccommand appeared in
5738023541Sjtc.At v7 .
58