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)
Tue, May 28, 1:42 AM
Unknown Object (File)
Apr 26 2024, 2:23 AM
Unknown Object (File)
Apr 10 2024, 11:18 PM
Unknown Object (File)
Feb 10 2024, 1:12 AM
Unknown Object (File)
Dec 29 2023, 9:45 PM
Unknown Object (File)
Dec 21 2023, 2:12 PM
Unknown Object (File)
Nov 30 2023, 6:32 PM
Unknown Object (File)
Nov 27 2023, 1:02 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