Re: accidentally changed the owner of sudo

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
If you are using a system that does not let you log in as root,
such as Ubuntu or macOS, you will need to boot into single user
mode to repair the permissions and file mode.  On most other
systems you should be able to use "su" to change to the root
account.

To repair the ownership and mode run:

    chown root /usr/bin/sudo
    chmod u+s /usr/bin/sudo

 - todd
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.