[Bug 276086] Handbook 16.3.2, wrong command for checking hash mechanism

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Jan 2024 21:57:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276086

            Bug ID: 276086
           Summary: Handbook 16.3.2, wrong command for checking hash
                    mechanism
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Books & Articles
          Assignee: doc@FreeBSD.org
          Reporter: vidar@karlsen.tech

Created attachment 247422
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247422&action=edit
git format-patch

The Handbook 16.3.2 Password Hashes suggests the following:

> The following command can be run to check which hash mechanism
> is currently being used:
> # grep user /etc/master.passwd
> The output should be similar to the following:
> :passwd_format=sha512:\

I believe the command should be:
# grep passwd_format /etc/login.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.