Now, restart the Samba services to pick up these configuration changes: sudo systemctl restart rvice rvice To add the public drive, add this section to the end of /etc/samba/smb.conf: To set the user security, set security = user in the section of /etc/samba/smb.conf.Įnable the per-user drive in /etc/samba/smb.conf: There’s two basic things that need to be configured: setting the user security, and adding the public drive. Sudo chown nobody:nogroup /srv/samba/public Next, create a directory that will be the shared public drive, and set its ownership: sudo mkdir -p /srv/samba/public NOTE: This guide assumes your linux machine is on your local network.įirst, install both samba and smbclient: sudo apt install samba smbclient This guide will show how to install Samba itself, then configure both a public drive meant to be shared among multiple users, and a per-user drive. Setting up Samba under Ubuntu 19.10 is relatively easy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |