Sudo commands take long to run (more than 10 seconds)

Solution Verified - Updated -

Issue

sudo commands take more than 10 seconds to run. These messages are found in /var/log/secure:

Sep 17 15:34:00 rhel-host sudo[213372]:    root : TTY=pts/4 ; PWD=/home/admin ; USER=root ; COMMAND=/bin/id
Sep 17 15:34:05 rhel-host sudo[213372]: pam_radius_auth: RADIUS server 192.168.1.10 failed to respond
Sep 17 15:34:05 rhel-host sudo[213372]: pam_radius_auth: All RADIUS servers failed to respond.
Sep 17 15:34:05 rhel-host sudo[213372]: pam_unix(sudo:session): session opened for user root by admin(uid=0)
Sep 17 15:34:10 rhel-host sudo[213372]: pam_radius_auth: RADIUS server 192.168.1.10 failed to respond
Sep 17 15:34:10 rhel-host sudo[213372]: pam_radius_auth: All RADIUS servers failed to respond.
Sep 17 15:34:10 rhel-host sudo[213372]: pam_unix(sudo:session): session closed for user root

Environment

  • Red Hat Enterprise Linux 8.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content