Hi guys many of them wrongly give permission to "/usr/bin/sudo" path due to this we can't access sudo as root user that's a problem. how to fix that first remove the installed linux hardrive or SSD from your computer or laptop connected into another linux machine then open the terminal Mount hardrive or SSD directory from you connected
Go to this path "/usr/bin/sudo" & change the permission of this path with comment given below
chown root:root /usr/bin/sudo
chmod 4755 /usr/bin/sudo
Then remove the hardrive or SSD connect to machine try sudo comment boom it's working thanks guys for reading this
This works for me
Tags:
linux