[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 UTC
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: 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=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.