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)
Sat, Aug 16, 4:23 AM
Unknown Object (File)
Thu, Aug 14, 10:59 PM
Unknown Object (File)
Wed, Aug 13, 3:17 AM
Unknown Object (File)
Tue, Aug 12, 12:48 AM
Unknown Object (File)
Mon, Aug 11, 9:54 AM
Unknown Object (File)
Sun, Aug 3, 5:29 PM
Unknown Object (File)
Sat, Aug 2, 6:21 AM
Unknown Object (File)
Fri, Aug 1, 3:15 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