I am using Linux Mint on my office laptop and there are two user accounts on it. one is the director's account and the other is mine. Although I did
sudo
command on the terminal before now I cant.It shows below error
chathurika@sanjayak-HP-Notebook ~ $ sudo su
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
To fix the permissions of sudo one told to Boot into single-user mode and do chmod u+s /usr/bin/sudo
. I am new to these things. How to do that. Below I have mentioned OS released details
- NAME="Linux Mint"
- VERSION="18 (Sarah)"
- ID=linuxmint
- ID_LIKE=ubuntu
- PRETTY_NAME="Linux Mint 18"
- VERSION_ID="18"
- HOME_URL="http://www.linuxmint.com/"
- SUPPORT_URL="http://forums.linuxmint.com/"
- BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"
- UBUNTU_CODENAME=xenial