Hw 1.4 validation has to be run with sudo

if the script runs without sudo, “killall mongod --quiet” fails and the last line is “Operation not permitted”
instead of the answer

If mongod is owned by Vagrant we don’t need sudo to kill it
As far as i remember none of the validation scripts are run by sudo
They are run as vagrant id
I am not sure if anything changed in recent times

1 Like