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

Mastering Cron Jobs in Linux: A Comprehensive Guide with Examples

Introduction: Cron jobs are an indispensable tool in the world of system administration and automation. They allow users to schedule tasks t...