git: a04bb5dc61d4 - stable/13 - vipw.8: Add a FILES section

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Tue, 15 Nov 2022 06:59:15 UTC
The branch stable/13 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=a04bb5dc61d42128849b2dc2d821e4f76dc820e6

commit a04bb5dc61d42128849b2dc2d821e4f76dc820e6
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-11-12 11:56:29 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-11-15 06:58:49 +0000

    vipw.8: Add a FILES section
    
    Mention passwd related files in the FILES section
    of vipw(8).
    
    Obtained from:  OpenBSD
    
    (cherry picked from commit 30a6c8a3a8a65074e531010f4adc8c1559f954ac)
---
 usr.sbin/vipw/vipw.8 | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/vipw/vipw.8 b/usr.sbin/vipw/vipw.8
index 85d09b41efda..d7233e01d558 100644
--- a/usr.sbin/vipw/vipw.8
+++ b/usr.sbin/vipw/vipw.8
@@ -28,7 +28,7 @@
 .\"     @(#)vipw.8	8.1 (Berkeley) 6/6/93
 .\" $FreeBSD$
 .\"
-.Dd February 14, 2012
+.Dd November 12, 2022
 .Dt VIPW 8
 .Os
 .Sh NAME
@@ -98,6 +98,19 @@ password file.
 See
 .Xr pwd_mkdb 8 .
 .El
+.Sh FILES
+.Bl -tag -width "/etc/master.passwdXXX" -compact
+.It Pa /etc/master.passwd
+Current password file.
+.It Pa /etc/passwd
+Legacy password file.
+.It Pa /etc/ptmp
+Password lock file.
+.It Pa /etc/pwd.db
+Insecure password database file.
+.It Pa /etc/spwd.db
+Secure password database file.
+.El
 .Sh SEE ALSO
 .Xr chpass 1 ,
 .Xr passwd 1 ,