thagrol / Guides

449 stars 43 forks source link

Migration of NAS user passwords... #14

Closed ejolson2005 closed 2 years ago

ejolson2005 commented 2 years ago

As suggested at

https://forums.raspberrypi.com/viewtopic.php?p=1987314#p1987314

here is an issue to add the user and password migration instructions

  1. Edit the /etc/passwd on the new system and paste the entries for the users copied from the same file on the old system
  2. Same for /etc/shadow
  3. Copy the file /var/lib/samba/private/passdb.tdb from the old to the new system
  4. sudo systemctl restart smbd

as in

https://forums.raspberrypi.com/viewtopic.php?p=1987216#p1987216

to nas.pdf maybe as Section 11.4 or maybe not.

thagrol commented 2 years ago

Done. Pending release