From nobody Tue Feb 27 01:20:19 2024 X-Original-To: doc@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 4TkKRR4jx4z5C5qC for ; Tue, 27 Feb 2024 01:20:19 +0000 (UTC) (envelope-from bugzilla-noreply@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 4TkKRR0bfYz4nxW for ; Tue, 27 Feb 2024 01:20:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708996819; a=rsa-sha256; cv=none; b=BJ66oqii+Dc6P45EN8Y6uk+t0kLvU1O5adVijEwtyCCdvYO9f4qXvDNZ/MKje32PVUbHlv QvhX7dvyzgkiDV9lev62K9TKWbVUmlBEsIga4d/iC6OS8LvJKMv0K8vQQ7HMlpyPdez/tN lSTEhOzpywrH2222UJHBRH250FWrwxEg7NS3Gsjjp9MvR9dEtqeVdkEZ0MyekWczsBQuNe O3EHO9fctRpRoLGclrELYyE6Vcx9Wkei80CxM23KVyqsGPknfjddMqOIf4kO9zF5kcOBLl lW9idMbalYsKBQ8QmT6kATzqn7P6AKCsIqgx87sXrzJi4VTeNom/iTg7GpoRaA== 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=1708996819; 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=CIjos47NO9fYhOzV7Szq5a4z5yqTqwHVP/ssPhFGqlg=; b=OiD3BgWGvfQE0eXmrl0RxzMEFqwp0QDNu0cp5Tt4MRcwdpnRZsKbN87rpMyciCuOcKNtrm y+F+lHU/+IjwAb7Y2z6WiqHvZe95nE/SVflTu8CKxEHJYLJ54oj4Z1gPNTYqXqktI43izi 9eZcw7iG4+ChqZEdSqReEElD+CuXA/Bm7wwT/HvBwajEfNiFVEGvHNwTbig+56l5yaD92s m62uK1Bh289hF70F+PiEl76hb+kJUrGjaJCbGu+GXyt4mV3aIee2eEc2phVH4OWf4pygBV qaA4TqSYDk5W9h4cQ7TdHV31vbHVcbeclQYGXs8Ksh3vWXR64hvX5FN1RMxCAg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4TkKRQ6nj5zrbq for ; Tue, 27 Feb 2024 01:20:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41R1KI8K007220 for ; Tue, 27 Feb 2024 01:20:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41R1KI5n007219 for doc@FreeBSD.org; Tue, 27 Feb 2024 01:20:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 277341] misleading command example: grep user /etc/master.passwd does not show the login class info per se Date: Tue, 27 Feb 2024 01:20:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Books & Articles X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: frederic.boileau@protonmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277341 Bug ID: 277341 Summary: misleading command example: grep user /etc/master.passwd does not show the login class info per se Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Books & Articles Assignee: doc@FreeBSD.org Reporter: frederic.boileau@protonmail.com https://docs.freebsd.org/en/books/handbook/security/#security-passwords #+begin_excerpt # grep user /etc/master.passwd The output should be similar to the following: :passwd_format=3Dsha512:\ #+end the command could be something like # grep 'default:\\' -A 1 /etc/login.conf | grep passwd Or maybe just words: The hashing algorithm is dictated by the "passwd_format" variable which is first specified in the /etc/login.conf file (and can be overridden= in a ~/.login_conf file) --=20 You are receiving this mail because: You are the assignee for the bug.=