Hot answers tagged

19 votes

sudo password not working over ssh

After your comments, it sounds like a tilde (~) character was giving you problems. When you're in an SSH session, the escape sequence ^M~ (that's Return then ~, or Ctrl+M then ~) has a special meaning ...
Attie's user avatar
  • 19.6k
2 votes

How to properly fix [sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set]

First, find another way to become root. Either machinectl shell or systemd-run --shell should still work, as they don't rely on setuid binaries (not in /usr/bin, at least). If nothing works, reboot ...
u1686_grawity's user avatar
1 vote

How do I fix "Sudo commands will not succeed by default" on chromeOS Crosh Shell

Currently, there is no "official" fix for this, but you might want to look into As of 11/15/2023, it has not been merged yet, but you can ...
Dan Depan's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible