summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pwd_mkdb
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2014-02-27 17:31:59 +0000
committerdes <des@FreeBSD.org>2014-02-27 17:31:59 +0000
commit9dee28c89852bb23bccbeb95e6f58221d6e9abc6 (patch)
tree2dbfd3124f02b323dc3cba2a2f8d3c91982655f2 /usr.sbin/pwd_mkdb
parent255d8413daf4c3747aeb37e6a71bf2771beed29d (diff)
downloadFreeBSD-src-9dee28c89852bb23bccbeb95e6f58221d6e9abc6.zip
FreeBSD-src-9dee28c89852bb23bccbeb95e6f58221d6e9abc6.tar.gz
MFH (r261511, r261542): add an example to the man page
Diffstat (limited to 'usr.sbin/pwd_mkdb')
-rw-r--r--usr.sbin/pwd_mkdb/pwd_mkdb.88
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.8 b/usr.sbin/pwd_mkdb/pwd_mkdb.8
index 1265c59..209f06e 100644
--- a/usr.sbin/pwd_mkdb/pwd_mkdb.8
+++ b/usr.sbin/pwd_mkdb/pwd_mkdb.8
@@ -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 -p /etc/master.passwd
+.Ed
.Sh COMPATIBILITY
Previous versions of the system had a program similar to
.Nm ,
OpenPOWER on IntegriCloud