On 12/04/2017 02:33 PM, michael wrote:
I have it working.  I don't want the password for the owner of the share in plain text in a file though.  Creating
/home/pi/.smbpasswd with the contents:
username=Test
password=password
domain=somedomain
and chmod 600 isn't good enough.

The password should be salted in this file even if it is password!

Is there a simple way to use an smbpasswd file properly salted without implementing a full samba server?

The proper tool that I know of is "smbpasswd" as an executable, which is part of the samba-common-bin package on my system (Debian).

It may have dependencies which includes a full smb server (which I run), so this may not be helpful information.

dafr
_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to