19
votes
Accepted
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 ...
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 ...
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 https://github.com/chromebrew/chromebrew/pull/8832 As of 11/15/2023, it has not been merged yet, but you can ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sudo × 1129linux × 573
ubuntu × 206
bash × 161
permissions × 115
sudoers × 115
ssh × 100
macos × 94
root × 91
su × 69
command-line × 54
debian × 53
unix × 51
shell × 47
terminal × 44
passwords × 41
centos × 33
mac × 28
security × 28
python × 22
environment-variables × 21
user-accounts × 20
script × 17
redhat-enterprise-linux × 15
git × 14