How to make changes to smb.conf?

If you look at this post of mine, you’ll see ways to make changes to smb.conf take effect without requiring firmware manipulation…though changes will be lost on reboot…but I think this is an easier approach than trying to figure things out in firmware. http://community.wd.com/t5/WD-My-Cloud-EX2/Hacks-to-make-Public-share-and-USB-shares-private/td-p/728740