git: adf9cd56fa84 - main - pw.8: Refernece to openssl-passwd(1) and crypt(3)

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Thu, 21 Jul 2022 18:09:23 UTC
The branch main has been updated by 0mp (doc, ports committer):

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

commit adf9cd56fa8421ffbf2d9c74ada547bdbfa8b143
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-07-21 17:59:19 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-07-21 18:08:05 +0000

    pw.8: Refernece to openssl-passwd(1) and crypt(3)
    
    It may be unclear how to generate an encrypted password hash for -H,
    so point users to openssl-passwd(1) and crypt(3).
    
    MFC after:      2 weeks
---
 usr.sbin/pw/pw.8 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/pw/pw.8 b/usr.sbin/pw/pw.8
index d9072872bc2b..64c22ce49848 100644
--- a/usr.sbin/pw/pw.8
+++ b/usr.sbin/pw/pw.8
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 3, 2022
+.Dd July 21, 2022
 .Dt PW 8
 .Os
 .Sh NAME
@@ -541,6 +541,11 @@ This is like
 .Fl h ,
 but the password should be supplied already encrypted in a form
 suitable for writing directly to the password database.
+See
+.Xr openssl-passwd 1
+and
+.Xr crypt 3
+for more details about generating an encrypted password hash.
 .El
 .Pp
 It is possible to use