Page MenuHomeFreeBSD

pam_unix: Store empty password as empty hash
Needs ReviewPublic

Authored by zirias on Nov 23 2023, 11:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 4:38 PM
Unknown Object (File)
Mon, Nov 25, 10:04 PM
Unknown Object (File)
Sep 28 2024, 6:06 AM
Unknown Object (File)
Sep 26 2024, 8:10 AM
Unknown Object (File)
Sep 4 2024, 8:23 AM
Unknown Object (File)
Jul 8 2024, 4:51 AM
Unknown Object (File)
Jul 6 2024, 8:44 AM
Unknown Object (File)
Jul 5 2024, 1:48 AM
Subscribers

Details

Reviewers
des
Summary

pw(8) normally refuses setting an empty password, but offers the
-w none option to do that, representing the empty password by an empty
stored hash. pam_unix allows setting an empty password with the "nullok"
option, but so far stored a hash of the empty string for it. Change this
to store an empty hash as well for consistency.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 54605
Build 51494: arc lint + arc unit