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)
Thu, Jan 23, 6:28 PM
Unknown Object (File)
Mon, Jan 20, 11:18 AM
Unknown Object (File)
Sun, Jan 19, 6:46 AM
Unknown Object (File)
Sat, Jan 18, 5:57 PM
Unknown Object (File)
Fri, Jan 3, 6:07 PM
Unknown Object (File)
Dec 26 2024, 10:09 AM
Unknown Object (File)
Dec 25 2024, 10:38 PM
Unknown Object (File)
Dec 11 2024, 4:38 PM
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