volumio / Build

Buildscripts for Volumio System
GNU General Public License v2.0
113 stars 102 forks source link

Configure a Samba password for volumio user #400

Closed BenjaminDebeerst closed 2 years ago

BenjaminDebeerst commented 4 years ago

Samba uses system users for access control, but uses independent passwords. This configures a default password for the volumio user upon system configuration.

This PR is split out from functionality I originally put in volumio/Volumio2#1883, for rationale and discussion, see there. The two PRs are not dependent on each other though, and can thus be merged independently.

Note: This adds the volumio default password ("volumio") as cleartext to the codebase. That's not ideal, but given the security of the default password not such a big problem. If that is undesirable, I could investigate whether it is possible to provide the password hash or even the complete samba password DB as a file (instead of using smbpasswd).

BenjaminDebeerst commented 2 years ago

Closing for staleness.