View Single Post
  #5   (View Single Post)  
Old 14th May 2020
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 281
Default

Yes, backup what you have. You can then regenerate the DB files from the fixed master.password.

Looks like the easiest way to restore from /var/backups is
pwd_mkdb -p /var/backups/master.passwd.backup

That will create /etc/master.passwd, /etc/passwd, pwd.db and spwd.db

I haven't run this, so make a backup and double check me in the man page.
Reply With Quote