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.
- Log in to the root account.
- Run the Samba password command with the user name to add to the password file.
For example: smbpasswd -a user_name
- Follow the instructions on the screen.
- Log out of the root account.