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
F170808108: D23548.id.diff
Sun, Sep 6, 6:37 PM
F170791986: D23548.id67902.diff
Sun, Sep 6, 3:59 PM
F170790059: D23548.id.diff
Sun, Sep 6, 3:44 PM
F170782462: D23548.diff
Sun, Sep 6, 2:42 PM
F170764778: D23548.id68105.diff
Sun, Sep 6, 12:20 PM
F170738736: D23548.diff
Sun, Sep 6, 8:18 AM
Unknown Object (File)
Sat, Sep 5, 4:25 PM
Unknown Object (File)
Fri, Sep 4, 4:06 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.