Annotation of 43BSDReno/usr.sbin/mkpasswd/mkpasswd.8, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1985 The Regents of the University of California.
                      2: .\" All rights reserved.
                      3: .\"
                      4: .\" Redistribution and use in source and binary forms are permitted provided
                      5: .\" that: (1) source distributions retain this entire copyright notice and
                      6: .\" comment, and (2) distributions including binaries display the following
                      7: .\" acknowledgement:  ``This product includes software developed by the
                      8: .\" University of California, Berkeley and its contributors'' in the
                      9: .\" documentation or other materials provided with the distribution and in
                     10: .\" all advertising materials mentioning features or use of this software.
                     11: .\" Neither the name of the University nor the names of its contributors may
                     12: .\" be used to endorse or promote products derived from this software without
                     13: .\" specific prior written permission.
                     14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     17: .\"
                     18: .\"    @(#)mkpasswd.8  6.6 (Berkeley) 6/24/90
                     19: .\"
                     20: .TH MKPASSWD 8 "June 24, 1990"
                     21: .UC 6
                     22: .SH NAME
                     23: mkpasswd \- generate hashed password table
                     24: .SH SYNOPSIS
                     25: .B mkpasswd
                     26: [
                     27: .B \-p
                     28: ] passwdfile
                     29: .SH DESCRIPTION
                     30: .I Mkpasswd
                     31: is used to generated the hashed password database used by the
                     32: password library routines (see
                     33: .IR getpwent (3)).
                     34: .PP
                     35: The file
                     36: .I passwdfile
                     37: must be in password file format (see
                     38: .IR passwd (5)).
                     39: .I Mkpasswd
                     40: generates database files named ``passwdfile.pag'' and
                     41: ``passwdfile.dir'' (see
                     42: .IR ndbm (3)).
                     43: Data subsequently taken from the database files differ from
                     44: .I passwdfile
                     45: in one respect.
                     46: Rather than storing the encrypted password in the database,
                     47: .I mkpasswd
                     48: stores the offset of the encrypted password in
                     49: .IR passwdfile .
                     50: .PP
                     51: .I Mkpasswd
                     52: exits zero on success, non-zero on failure.
                     53: .PP
                     54: The
                     55: .I \-p
                     56: option causes
                     57: .I mkpasswd
                     58: to create ``passwdfile.orig'', a password file in the
                     59: standard Version 7 format.
                     60: .SH SEE ALSO
                     61: chpass(1), passwd(1), getpwent(3), ndbm(3), passwd(5), vipw(8)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.