I have changed my Ubuntu super password by recovery mode; after that, I can't run my sudo command in normal user .
I have attempted to crack my previous password in Recovery mode; I followed this link to crack my password.
$sudo ---In global mode throws me the below error:
sudo: /usr/local/bin/sudo must be owned by uid 0 and have the setuid bit set
$ ls -l sudo gives:
-r-sr-xr-x 1 root root 136808 May 29 2017 sudo
/usr/local/bin$ ./sudo ---> I need this
./sudo isn't working -- it throws the below error:
sudo: ./sudo must be owned by uid 0 and have the setuid bit set
./sudo --> working fine
usage: sudo -h | -K | -k | -V
I need to access my sudo command from the terminal from anywhere.