I ran the command chown -R caddy:caddy /
because I thought it would get rid of another problem about after that my instance was acting weird so I restarted it and I tried to undo the changes but I couldn't sudo because “sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set” and when i do "su -" it asks me for a password even though I never had to use a password when doing sudo su before and I sshed with a key.
Please help, What can I do to gain sudo and revert the changes?