Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2024 01:20:19 +0000
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
Message-ID:  <bug-277341-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277341-9>