SSL-3 Lab Assignment 3 - Arpan Vyas
SSL-3 Lab Assignment 3 - Arpan Vyas
0801IT221037
1. Overview
A Samba file server enables file sharing across different operating systems over a network. It
lets you access your desktop files from a laptop and share files with Windows and macOS
users.
This guide covers the installation and configuration of Samba on Ubuntu.
2. Installing Samba
To install Samba, we run:
3. Setting up Samba
Now that Samba is installed, we need to create a directory for it to share:
The command above creates a new folder sambashare in our home directory which we will
share later.
The configuration file for Samba is located at /etc/samba/smb.conf. To add the new directory
as a share, we edit the file by running:
Arpan Vyas
0801IT221037
Then press Ctrl-O to save and Ctrl-X to exit from the nano text editor.
What we’ve just added
• comment: A brief description of the share.
• path: The directory of our share.
• read only: Permission to modify the contents of the share folder is only granted when
the value of this directive is no.
• browsable: When set to yes, file managers such as Ubuntu’s default file manager will
list this share under “Network” (it could also appear as browseable).
Now that we have our new share configured, save it and restart Samba for it to take effect:
Connecting to Share
On Ubuntu: Open up the default file manager and click Connect to Server then enter:
Arpan Vyas
0801IT221037