Page MenuHomeFreeBSD

Update /etc/passwd after password db changes
ClosedPublic

Authored by aryeeteygerald_rogers.com on Jan 11 2019, 10:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 12:38 PM
Unknown Object (File)
Thu, Apr 18, 9:55 AM
Unknown Object (File)
Thu, Apr 18, 9:37 AM
Unknown Object (File)
Thu, Apr 18, 8:40 AM
Unknown Object (File)
Thu, Apr 18, 6:54 AM
Unknown Object (File)
Tue, Apr 9, 4:38 PM
Unknown Object (File)
Sun, Apr 7, 12:11 AM
Unknown Object (File)
Feb 8 2024, 4:50 AM

Details

Summary

Add -p to pwd_mkdb in order to ensure password db
changes are also included in /etc/passwd.

PR: 165954, 232921, +

Test Plan

None

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22008
Build 21242: arc lint + arc unit

Event Timeline

usr.sbin/freebsd-update/freebsd-update.sh
2899

This comment is out of date now - maybe just "Rebuild generated pwd files."

jilles added a subscriber: jilles.

I wonder when it is appropriate to run pwd_mkdb without -p. Only when etc/passwd is considered legacy and needs to be omitted from the system?

This revision is now accepted and ready to land.Jan 18 2019, 2:36 PM
This revision was automatically updated to reflect the committed changes.