Professional Documents
Culture Documents
Sambaa
Sambaa
4. **Samba Configuration:**
- Define the role of a Samba server:
Samba facilitates file sharing between Windows and Linux systems.
- Configure a directory named "shared_docs" for Samba:
- Create the directory:
```bash
mkdir /srv/samba/shared_docs
```
- Edit the Samba configuration file (`/etc/samba/smb.conf`) and add:
```bash
[shared_docs]
path = /srv/samba/shared_docs
browsable = yes
writable = yes
guest ok = yes
```
- Restart Samba services:
```bash
sudo systemctl restart smbd
sudo systemctl restart nmbd
```
This summary should help address each of the tasks outlined in the exam paper.