ah, that makes more sense! somehow I missed that. On Wed, Feb 12, 2025, 6:13 PM Todd C. Miller <todd.mil...@sudo.ws> wrote:
> On Wed, 12 Feb 2025 18:02:12 -0800, Samuel B wrote: > > > there's not much on pwd.db in the manpages. I ran pwd_mkdb -c on both > > *.db files, and for each one I got: > > pwd_mkdb: corrupted entry > > pwd_mkdb: at line #1 > > pwd_mkdb: ...: Inappropriate file type or header > > Yet, I added and removed a user (same way as before), then got the > checksums > > with sha256. The checksums didn't change, so whatever the "corruption" > is, > > it's consistent. > > That is because "pwd_mkdb -c" is meant to check /etc/master.passwd, > not the .db files. > > - todd >