February 2020
Intermediate to advanced
666 pages
15h 45m
English
Perform this lab on your Ubuntu 18.04 VM. Carry out the following steps for troubleshooting:
sudo apt install apparmor-utils apparmor-profiles apparmor-profiles-extra
sudo apt install sambasudo systemctl status smbdsudo systemctl status nmbd
cd /etc/apparmor.dsudo aa-enforce /usr/sbin/smbd usr.sbin.smbdsudo aa-enforce /usr/sbin/nmbd usr.sbin.nmbdsudo systemctl restart smbd
Note that Samba should fail to restart. (It will take quite a while before it finally errors out, so be patient.)