Notes to self: Faster way of iterating: Instead of rebooting the VM, run
sudo pkill -e systemd-logind; sudo rm -r /run/systemd/user/33
(33 is www-data). This will bring the system back into the state when su gets "killed".
Notes to self: Faster way of iterating: Instead of rebooting the VM, run
sudo pkill -e systemd-logind; sudo rm -r /run/systemd/ user/33
(33 is www-data). This will bring the system back into the state when su gets "killed".