Bug 208455 - try_first_pass in man page but nonexistent in pam_unix code
Summary: try_first_pass in man page but nonexistent in pam_unix code
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dag-Erling Smørgrav
Depends on:
Reported: 2016-04-01 15:37 UTC by mwlucas
Modified: 2018-05-12 16:20 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description mwlucas 2016-04-01 15:37:09 UTC
pam_unix(8) says:

     try_first_pass      This option is similar to the use_first_pass option,
                         except that if the previously obtained password
                         fails, the user is prompted for another password.

Per DES: The try_first_pass option has never worked. It's never been implemented, in any FreeBSD version. Like, ever. The code isn't even there. This isn't an ex-parrot, it's a wholly imaginary one. It needs to be removed back to the beginning of time.

Should also be removed from the pam_unix entries in /etc/pam.d/* files, but that would require me to fill out an entirely new bug report. And probably make a patch. Making a patch would be SO MUCH more fun than writing a PAM book... but I'm going back to work like a good boy.
Comment 1 Dag-Erling Smørgrav freebsd_committer 2018-05-12 16:20:52 UTC
I would really rather implement try_first_pass than remove it from the documentation...  IMCFT