My Oracle Support Banner

Oracle Linux : How to Reset or Undo the Changes Made by "sudo chmod -R 777 /usr/bin/" Command? (Doc ID 2848090.1)

Last updated on MARCH 03, 2022

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64

Symptoms

The permission settings in the /usr/bin/sudo file accidentally changed with "sudo chmod -R 777" command that is leading to error "sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set"

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.