From nobody Thu Jul 21 18:09:23 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LpgZC4LwJz4XC0M; Thu, 21 Jul 2022 18:09:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LpgZC3pJgz3MtP; Thu, 21 Jul 2022 18:09:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658426963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fHAnxwjXBOfYDrfKpVjN1+DwSt7HW1hWPJkwoxkROAc=; b=kMzlB448VIvwXQKjS/gQ+QppCOgpGyhEZY2F9kCqzWKVQ+pAZmGpH2TfXFUQpTHyzWYVH1 UCzeAd/Rsf7+MRg2mVgxlgnKzaLH0ldv4ynctNRIRFDGclEcK0bVmJql45BmWXP1JD04Fu 8xFSt5z15ZjpaLtZ8r+udIIK07rdaJq6fcZNmHyWhqGwfsASFzH3UffiQCWeSrCKaSXjrl MHqJ74Qb+m73gn0bxEjyArT+Ewe6RqUK3MD2qiwmbHwpGeOSreEckfc1F3lhItetZFRpl5 ZIs4QnrdgYv49h9tIXPt2Hxn7SrH1XiR4BHRSmtRkLOifSU8LUYLpLM4W+dxAw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LpgZC2pyWzWls; Thu, 21 Jul 2022 18:09:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26LI9NPG056858; Thu, 21 Jul 2022 18:09:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26LI9Nje056857; Thu, 21 Jul 2022 18:09:23 GMT (envelope-from git) Date: Thu, 21 Jul 2022 18:09:23 GMT Message-Id: <202207211809.26LI9Nje056857@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: adf9cd56fa84 - main - pw.8: Refernece to openssl-passwd(1) and crypt(3) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: adf9cd56fa8421ffbf2d9c74ada547bdbfa8b143 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658426963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fHAnxwjXBOfYDrfKpVjN1+DwSt7HW1hWPJkwoxkROAc=; b=f0jcWDvoPPrt7P3UXpEorLbHwQxqjZvbwH+APrzZPmKD+/x3Fcu34TiJ27on9Xs9Q3vxtd ez1Tks11055Y2BwNGbYF64dxcykQLWb/lBYgppbUTvEqn+XjsgnhZsb6/cOTT27luvK0AR dt/llN/G3LuBHrguJ8fFarzNhj6nKcJzzCRCK1w6U22x+Vp2GCjxlYfgju+96EFiQKXpGm PEJ7YB8OXa9ZAo3uHg/YjU3xEyNi+Jbi6LL5wO7AKxz5TkeYWlTzrwn0BkBdihoxd5j9fw Sza8njxp2G1dPjNULIQ9G+aWJ+73g9PdLli8uoAcuuSMVpDP8vXCDsVwSHk7YQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658426963; a=rsa-sha256; cv=none; b=u4MFhwaPTuPU6KyUsH8bWZVJNpw8pmnMWE5XX3cx3qGS//PN3TPhZJ9awGzrcfhVlBKL0i TkRvYy0t5G6x3ZWNE/55neXXe+39Qtez9C73S7lV23sSQMr3QaKC1BNri01SXDDx6u7TSJ JGOmqZICA6kKgkG1Iwit8MrOQKWFF6fbCTyWkeI/TIeROzk+XxjwrQHKcd0PpOQpTuTHOK gBxgE56v4SUEvDxDE0H3GKrRwg4ZeWE3q2L9Uy18603fYPpaKoM3Dsc0IgSqizmIcLagCH /9kROh8EDUWftI6XLiXfvgo4ehaRKavjqOvs/PZX05265g31fJ5UOMPiI02k6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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