All sudo commands take a very long time before asking for a password

Hello everyone,

I ran into the following issue, any commands that require sudo take a very long time to complete…
For example, if I enter in the terminal:

sudo nano 123.txt

then the password request will appear only after 30 seconds.
And while doing so, I see a notification:

Verification timed out

The same command without sudo is executed instantly.
It also works for a long time in any place where superuser rights are needed.
For example, when installing programs through the default program manager.

How can this problem be fixed?

My core: kernel518
Manjaro version: 21.3.6 (Gnome)

Hmm, that’s interesting. What are the contents of /etc/pam.d/sudo and /etc/pam.d/system-auth?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.