aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2022-07-21 17:59:19 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2022-07-21 18:08:05 +0000
commitadf9cd56fa8421ffbf2d9c74ada547bdbfa8b143 (patch)
treea0900143a60ab9591e144808ac87b63d8465e2fd
parent6339314c737f44477c1168819353087c2f4816eb (diff)
downloadsrc-adf9cd56fa8421ffbf2d9c74ada547bdbfa8b143.tar.gz
src-adf9cd56fa8421ffbf2d9c74ada547bdbfa8b143.zip
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
-rw-r--r--usr.sbin/pw/pw.87
1 files changed, 6 insertions, 1 deletions
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