Monday, March 2, 2015

Troubleshoot unable to run sudo command "error = must be set uid root "


Run below command to resolve "must be set uid root " error .
  
#chown root:root /usr/bin/sudo
#chmod 4755 /usr/bin/sudo
#chmod 0440 /etc/sudoers
#chmod 0440 /etc/sudoers.d/README
#chmod 0775 /etc/sudoers.d/

reboot system and check


No comments:

Post a Comment

Linux server hardening | Secure Linux Servers

 Linux server hardening is the process of securing a Linux server by reducing its attack surface and mitigating security risks. The goal is ...