From nobody Wed Oct 04 11:23:50 2023 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 4S0slB3zxxz4vkbm; Wed, 4 Oct 2023 11:23:50 +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 4S0slB33dPz4cJD; Wed, 4 Oct 2023 11:23:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696418630; 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=vKd8BWXux8+0OjHKEzGtm71YxeB3qDMmD9G+onHcf48=; b=V3XvmHviUzzRkpQTBoK2e9pKxXGyj2m3IhNv8+6nmPLb9tfZv59Whvb/NHF8jaMXKpG7BO i46ilxAwFrrVZ1zg5i3rg6rsAoOKXSLtvtxZ2JjFVL5JAMh7svKaKmc9qBdItQCOGfCmsB Pod8HcbIwH0Zz6p3Q6FwOCXX1pA+DOCfma9QsJNWwLtb7QHtPPTtx38mnNZsBrV20bDHfg +j31ZHsxEACvmLzW/u9TgiGac+QVdnepJQFooVbdWMk424hZIMVYey0mg2eX+pVtsjBC3v bNvQeCe6TILwYDNgFcdGHAAWOJ0RuMB583FTl4NzZ2zHYGkn0c+I1kutsneWRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696418630; a=rsa-sha256; cv=none; b=EJo/6pg75BhDctu4IuRvsMUHkMsZTRlluD3yZKl+FtQ/B6sINg0QcRMbje44/eRGB8UMLO Xm9L5Mt0oJwaSfYZCESQmGiXxerHcF0h7TUvTOqf87UWi1ASYvx3ALrAxCGMHpwW7nYblx 4RV1hnTVKuBNy5aNWEHIskT+ijUhVXQq5kD0+A4QOAobmxAVNDkWERA0bdKRD3NbiWmOAX Q80b8fd5OXGo/7Tf2Wa+C7TDlRSpJYSE80ZT0edl7HviVMhrb49VQoZHrFfG4hWV2I6zNP V9VYNxp9MjLaCL6dgbCA8Rbveug/YdtotavgTWEKeWDy7sss6s4EvFWu1B+eeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696418630; 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=vKd8BWXux8+0OjHKEzGtm71YxeB3qDMmD9G+onHcf48=; b=Ger2h1BsFmEhpkrZZouBIxxSO7ECmm+rxlaIrOyBwuzLrsHFRpuvWVdoovf60EvDH5Ladf EsURYIxm9b9VVOn6xGsm+6NFCPvyz7aPLF7ZCHA4Kh55yISQO/bn5xhC2pmOJjm7f9uyC5 KSyzwPNPk5su762+iGtjmYUTLQhhdmS0FUUqdWFPYoAVivjJ5XaEsTWKTqI7UOpcczjA2S vFuxVpyLkAoPsDH5HM+/ZcVx+qS4keMKz4NW5sRBCPTZJDGSlq2AkiF3Ezy1h7gw21VMt/ uv1LdU9vv7p3FYGj/JYO2bRr+WaRdBGrRdlE+1W/+TGMaM6p3/usBqw9SHXtDA== 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 4S0slB26ngzbK7; Wed, 4 Oct 2023 11:23:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 394BNoNX084947; Wed, 4 Oct 2023 11:23:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 394BNoRt084944; Wed, 4 Oct 2023 11:23:50 GMT (envelope-from git) Date: Wed, 4 Oct 2023 11:23:50 GMT Message-Id: <202310041123.394BNoRt084944@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: 4f9dbf7d5d09 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 4f9dbf7d5d0904a9292e403107f1ffe9bf2494b6 Auto-Submitted: auto-generated 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