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
F106162132: D42731.id130455.diff
Thu, Dec 26, 10:09 AM
F106132159: D42731.diff
Wed, Dec 25, 10:38 PM
Unknown Object (File)
Wed, Dec 11, 4:38 PM
Unknown Object (File)
Nov 25 2024, 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
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 54587
Build 51476: arc lint + arc unit