Users/Passwords


Brucey7

Recommended Posts

You will need to synchronize your /etc/passwd (user names and accounts) and /etc/shadow (actual hashed passwords) files. Well, I take that back. You'll just want to synchronize the entries for your users, you won't want to copy the whole files over, as they're altered by various plugins to add or remove users.

 

Actually, hold that thought, someone else may know better. I don't really know if the actual share users are listed in any of the other configuration files. I do know that Samba is set to security = USER, which means that it checks passwords against the Unix passwd/shadow files. Bad me, I haven't actually configured my server to have any other users than root.

Link to comment

As far as I can tell, all you need to do is synchronize the /boot/config/passwd and /boot/config/shadow files from the two usb drives and reboot.

 

I did something similar over here:

  https://lime-technology.com/forum/index.php?topic=53052.msg510035#msg510035

and haven't had any problems.

 

 

You'll still have to assign the users to the shares, but this process should give them the same username/passwords.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.