|
|
1.1 ! root 1: .\" Copyright (c) 1985 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)mkpasswd.8 6.3 (Berkeley) 6/3/86 ! 6: .\" ! 7: .TH MKPASSWD 8 "June 3, 1986" ! 8: .UC 6 ! 9: .SH NAME ! 10: mkpasswd \- generate hashed password table ! 11: .SH SYNOPSIS ! 12: .B /etc/mkpasswd ! 13: [ ! 14: .B \-v ! 15: ] ! 16: passwdfile ! 17: .SH DESCRIPTION ! 18: .I Mkpasswd ! 19: is used to generated the hashed password database used by the ! 20: library routines ! 21: .B getpwnam() ! 22: and ! 23: .BR getpwuid() . ! 24: If the ! 25: .B \-v ! 26: option is supplied, each entry will be listed as it is added. ! 27: The file ! 28: .I passwdfile ! 29: is usually /etc/ptmp (invoked by vipw(8)), and in any case ! 30: must be in the format of /etc/passwd (see passwd(5)). ! 31: .I Mkpasswd ! 32: will generate database files named ! 33: .I passwdfile.pag ! 34: and ! 35: .I passwdfile.dir. ! 36: .I Mkpasswd ! 37: will exit with a non-zero exit code if any errors are detected. ! 38: .SH FILES ! 39: .ta \w'passwdfile.dir 'u ! 40: \fIpasswdfile\fR.pag - database filenames ! 41: .br ! 42: \fIpasswdfile\fR.dir ! 43: .SH SEE ALSO ! 44: getpwent(3), vipw(8), passwd(5)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.