You are not logged in.

#1 2025-03-23 11:39:33

ngdngdc
Member
Registered: 2024-10-27
Posts: 3

[SOLVED]Sudo and run0 are not available

I just updated my system, but after the update, sudo and run0 cannot be used properly.
Specifically, it manifests as the inability to verify the password correctly, even if I enter the correct password, it will prompt me that the password is incorrect.
In addition, the - u option of sudo will output usage information instead of switching to the specified user.
SU can still be used normally.
I want to know why, should I go somewhere to submit issues and wait for updates? Or can I solve the problem by modifying the local configuration file or similar methods?
----
The version of sudo is 1.9.16. p2-2
The version of systemd is 257.4-1

Last edited by ngdngdc (2025-03-23 12:07:20)

Offline

#2 2025-03-23 11:45:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,318

Re: [SOLVED]Sudo and run0 are not available

None of these issues here. Check to make sure you don't have broken aliases or aren't using some venv environment like conda or so. What's your output of

type -a sudo
printenv

Also check your keyboard layout (maybe write out the PW into some text visible field, so you're sure it's actually correct) and what can also often happen especially if you're wrong about the PW that the faillock triggers and blocks you for a few minutes (though that doesn't explain the other behavioral changes) https://wiki.archlinux.org/title/Securi … n_attempts

Last edited by V1del (2025-03-23 11:48:33)

Offline

#3 2025-03-23 12:03:36

ngdngdc
Member
Registered: 2024-10-27
Posts: 3

Re: [SOLVED]Sudo and run0 are not available

V1del wrote:

None of these issues here. Check to make sure you don't have broken aliases or aren't using some venv environment like conda or so. What's your output of

type -a sudo
printenv

Also check your keyboard layout (maybe write out the PW into some text visible field, so you're sure it's actually correct) and what can also often happen especially if you're wrong about the PW that the faillock triggers and blocks you for a few minutes (though that doesn't explain the other behavioral changes) https://wiki.archlinux.org/title/Securi … n_attempts

Thank you very much for your help. After checking, there are no issues with my environment variables and keyboard layout.

Furthermore, regardless of how this issue arose, it seems to have completely disappeared after I reinstalled sudo.

Anyway, thank you again.

Offline

Board footer

Powered by FluxBB