Update SambaInstall.md

This commit is contained in:
2024-12-21 17:01:51 +01:00
parent 5090a5574c
commit 6616a5d692

View File

@@ -60,7 +60,9 @@ sudo nano /etc/samba/smb.conf
force user = canary
```
4. Set rights (follow instructions)
```bash
sudo smbpasswd -a canary
```
5. Edit Rsyslog
```bash
#Backup original file
@@ -164,14 +166,14 @@ mail.err /var/log/mail.err
#
*.emerg :omusrmsg:*
```
5. Create Samba audit log file and change owner
6. Create Samba audit log file and change owner
```bash
sudo touch /var/log/samba-audit.log
sudo chown syslog:adm /var/log/samba-audit.log
```
6. Reboot device to apply all changes
7. Reboot device to apply all changes
```bash
sudo reboot now
```