https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277341

            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: [email protected]
          Reporter: [email protected]

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=sha512:\

#+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)

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

Reply via email to