Update SambaInstall.md
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user