We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug I receive the following error after running the hardening script on Ubuntu 24.04:
$ sudo reboot sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
To Reproduce
sudo bash ubuntu.sh
sudo reboot
Expected behavior
The sudo command should work as expected.
sudo
System (lsb_release -a):
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble
Additional context
/usr/bin$ ls -ln sudo -rwxr-xr-x 1 0 0 335120 Apr 8 2024 sudo
The text was updated successfully, but these errors were encountered:
Temporary solution:
chmod 4755 /usr/bin/sudo
Sorry, something went wrong.
Thank you @GauthierPLM for reporting this. sudo was added by mistake in 70d66b2
konstruktoid
Successfully merging a pull request may close this issue.
Describe the bug
I receive the following error after running the hardening script on Ubuntu 24.04:
$ sudo reboot sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
To Reproduce
sudo bash ubuntu.sh
sudo reboot
). The command will be rejected with the error aboveExpected behavior
The
sudo
command should work as expected.System (lsb_release -a):
Additional context
The text was updated successfully, but these errors were encountered: