You can add user names and passwords to the Samba password file at any time from a terminal window on the Linux host system. The Samba password file must include entries for all users of the virtual machine who will access the host file system.

1

Log in to the root account.

2

Run the Samba password command with the user name to add to the password file.

For example: smbpasswd -a user_name

3

Follow the instructions on the screen.

4

Log out of the root account.