Page MenuHomeFreeBSD

daily/200.backup-passwd periodic script not hiding the password field of certain users
ClosedPublic

Authored by sigsys_gmail.com on Feb 6 2020, 10:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 1, 8:11 AM
Unknown Object (File)
Mon, Nov 24, 11:53 AM
Unknown Object (File)
Sun, Nov 23, 9:27 AM
Unknown Object (File)
Thu, Nov 20, 9:16 PM
Unknown Object (File)
Thu, Nov 20, 9:12 PM
Unknown Object (File)
Thu, Nov 20, 9:11 PM
Unknown Object (File)
Thu, Nov 20, 9:02 PM
Unknown Object (File)
Nov 5 2025, 9:01 AM
Subscribers

Details

Summary

The (hashed) password of users with a "+" or "-" in their username is being sent in the periodic emails as-is instead of being replaced by "(password)".

If the intent was to ignore NIS entries, then it should check only the first character. But I think that this is unnecessary, NIS entries follow the same format and the second field either is a password or should be empty.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 11 2020, 6:12 AM
This revision was automatically updated to reflect the committed changes.