git: 4f9dbf7d5d09 - stable/13 - pw.8: Refernece to openssl-passwd(1) and crypt(3)

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Wed, 04 Oct 2023 11:23:50 UTC
The branch stable/13 has been updated by 0mp:

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

commit 4f9dbf7d5d0904a9292e403107f1ffe9bf2494b6
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-07-21 17:59:19 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-10-04 11:13:24 +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
    
    (cherry picked from commit adf9cd56fa8421ffbf2d9c74ada547bdbfa8b143)
---
 usr.sbin/pw/pw.8 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/usr.sbin/pw/pw.8 b/usr.sbin/pw/pw.8
index 871880b54f37..5d461fc6464e 100644
--- a/usr.sbin/pw/pw.8
+++ b/usr.sbin/pw/pw.8
@@ -539,6 +539,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