I am currently trying to fix sudoer after making some changes it seems i killed the sudoer list.
OS/ unbuntu 12.04
error/ sudo: must be setuid root
Guessing this happened when i made some permission changes to usr/bin
I have tried the following so far.
booted in to recovery mode
remounted the drive to read write using
mount -o rw,remount /
readded my user as sudo using
adduser makin sudo
replaced the sudo file with the backup and then edited it to confirm all info is correct.
sudo cp /etc/sudoers /etc/sudoers.backup
sudo nano /etc/sudoers
I have confirmed using that the user account is sudo upon logging back in to the user account using the following:
id makin
response output was as follows:
uid=1000(main) gid=1000(makin) groups=1000(makin),4(adm),20(dialout),24(cdrom),27(sudo),46(plugdev),116(lpadmin),118(admin),124(sambashare)
still getting this error after running through all of this.
note: this was done as root access as i do have the root password for this box.
Once again any help appreciated guys, thankyou in advance for your time.
Cheers Makin