Robert McBroom via users writes:
On a system restore from a tar archive sudo won't work. Says /usr/bin/sudo needs to be owned by 0 with the suid bit set. Root owns the file and is 0. Looking at a working system directory list shows-rwsr-xr-x. 1 root root 57456 Aug 16 20:00 su ---s--x--x. 1 root root 202872 Jul 24 20:00 sudo How does that s bit get set?
By chmod u+s But there might be a better way to salvage your system, try: rpm --restore -a
Attachment:
pgp5HCvarji6a.pgp
Description: PGP signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue