svn commit: r261511 - head/usr.sbin/pwd_mkdb

Dag-Erling Smørgrav des at FreeBSD.org
Wed Feb 5 09:28:02 UTC 2014


Author: des
Date: Wed Feb  5 09:28:02 2014
New Revision: 261511
URL: http://svnweb.freebsd.org/changeset/base/261511

Log:
  Add an example of the most common use case.
  
  MFC after:	1 week

Modified:
  head/usr.sbin/pwd_mkdb/pwd_mkdb.8

Modified: head/usr.sbin/pwd_mkdb/pwd_mkdb.8
==============================================================================
--- head/usr.sbin/pwd_mkdb/pwd_mkdb.8	Wed Feb  5 08:42:59 2014	(r261510)
+++ head/usr.sbin/pwd_mkdb/pwd_mkdb.8	Wed Feb  5 09:28:02 2014	(r261511)
@@ -28,7 +28,7 @@
 .\"	@(#)pwd_mkdb.8	8.1 (Berkeley) 6/6/93
 .\" $FreeBSD$
 .\"
-.Dd February 28, 2005
+.Dd February 5, 2014
 .Dt PWD_MKDB 8
 .Os
 .Sh NAME
@@ -143,6 +143,12 @@ The current password file.
 .It Pa /etc/passwd
 A Version 7 format password file.
 .El
+.Sh EXAMPLES
+Regenerate the password database after manually editing or replacing
+the password file:
+.Bd -literal -offset -indent
+/usr/sbin/pwd_mkdb /etc/master.passwd
+.Ed
 .Sh COMPATIBILITY
 Previous versions of the system had a program similar to
 .Nm ,


More information about the svn-src-all mailing list