General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Oct 24, 2017 9:31 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Jul 22, 2017 8:00 pm 
Offline

Joined: Sat Mar 09, 2013 6:28 am
Posts: 44
I mirrored my NSA310 to a new one with a larger drive. Set up all the shares and users. But I don't know how to transfer the user passwords to the new server.

Does anyone know where the NAS user account passwords are stored? (They are not in /etc/shadow.) On UNIX systems it is possible to copy the encrypted password to another system so the user can log in. You can't see the original password but can copy the encrypted string. Is there a similar method for the NAS logins?


Top
 Profile  
 
PostPosted: Sun Jul 23, 2017 11:16 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6051
On my Medion it's stored in /etc/zyxel/conf/startup-config.conf . On boot the file /etc/samba/smbpasswd is generated from this file, and all services use PAM to use samba authentication.

Only admin has a second password hash which is copied to /etc/shadow, for admin and for root. (The hashes for shadow and smbpasswd are not compatible)


Top
 Profile  
 
PostPosted: Mon Jul 24, 2017 10:10 pm 
Offline

Joined: Sat Mar 09, 2013 6:28 am
Posts: 44
Thank you. That was exactly what I needed to know.

Jerry


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 76 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group