NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/58005: passwd always errors out; cannot change passwords anymore



The following reply was made to PR bin/58005; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/58005: passwd always errors out; cannot change passwords anymore
Date: Thu, 7 Mar 2024 10:29:11 -0000 (UTC)

 michael.cheponis%gmail.com@localhost writes:
 
 >4. I saved /etc so I copied into /etc a previous version of spwd.db
 >5. This allowed logging in to the machine.
 >6. passwd always fails henceforth like this:
 
 >Couldn't generate salt.
 >Unable to change auth token: Error in service module
 
 >passwd.conf:    localcipher = argon2id
 
 
 This happens when passwd.conf is bad and the "localcipher" (or
 "ypcipher" for NIS accounts) is unknown.
 
 Can you please check your passwd.conf file ?
 
 
 N.B. spwd.db is generated. If it gets damaaged, I'd check/recover the
 source (aka the passwd.master file) and rebuild spwd.db.
 


Home | Main Index | Thread Index | Old Index