* As '''root''', edit /etc/init.d/mount_shares_locally
**Replace ''"***set this string to your username!***"'' (line 12) with your username. For example '''"amahi"'''
**If The script may require the MariaDB root password be changed: ***Please see [[Database Root Password]] for the appropriate login password.***Also if you changed MySQL the MariaDB root password, it must be updated in the mount_shares_locally scripton your own. :<blockquote>Change ''hda'' (line 2425) to your new the appropriate password:<pre>mysql -u root -p phda -e "select name from shares" hda_production | grep -v "^name$" | xargs -d "\n" mkdir -p</pre> :'''NOTE:''' Refer to [[Database Root Password]] for the appropriate login password.</blockquote>
* Create the ''/home/your_username/.smb_credentials'' file. This is a simple text file (use your favorite text editor).
vi /home/your_username/.smb_credentials