====== Samba share====== [[digital_forensics:digital_forensics|{{ :digital_forensics:icon.jpg?120|}}]] ===== context===== dit document beschrijft hoe je de Samba shares aanmaakt op [[digital_forensics:myfw|Myfw]] ===== installatie===== * installeer samba:\\ ''apt-get install samba samba-client'' * maak onderstaande mappen aan:\\ ''mkdir -p /home/shares/cases /home/shares/software'' * maak onderstaande groepen aan:''\\ groupadd forensics'' * beveilig de mappen:\\ ''chown -R root:forensics /home/shares && chmod -R 2770 /home/shares'' * maake een smb-gebruiker aan:\\ ''smbpasswd -a koen'' * voeg die toe aan de groep:\\ ''usermod -a -G forensics koen'' * exporteer de mappen via SMB: [cases] comment = case files browseable = no path = /home/shares/cases guest ok = no read only = no create mask = 2660 directory mask = 2770 [software] comment = software browseable = no path = /home/shares/software guest ok = no read only = no create mask = 2660 directory mask = 2770 * start de service:\\ ''systemctl start smbd'' * auto-start de service:\\ ''systemctl enable smbd'' ===== meer info ===== voeg hier linken toe naar verdere uitleg {{tag>digital_forensics}}