Fedora Linux Support Community & Resources Center
Old 13th January 2009, 01:33 PM
actaea Offline
Registered User
Join Date: May 2008
Posts: 26
sudo very slow

Whenever I sudo, there is a thirty second or so delay, before the command is executed, no matter how simple the command. Does anyone have any guesses what would cause such a delay and how I can fix it? Thanks!
Reply With Quote
Old 2nd April 2009, 04:48 AM
no2u Offline
Registered User
Join Date: Nov 2008
Posts: 4
I'm seeing the same problem, but for me it takes exactly 2 minutes to "sudo" any command.

"sudo -h" completes immediately.

Recent changes to my Fedora 10 system are that I just did a System Update via PackageKit, and I installed a new router.

Just noticed that if I unplug the ethernet connection, sudo completes immediately. sudo is presumably trying to hit the internet for something, and is probably getting blocked.

Last edited by no2u; 2nd April 2009 at 04:53 AM. Reason: More info
Reply With Quote
Old 2nd April 2009, 02:54 PM
no2u Offline
Registered User
Join Date: Nov 2008
Posts: 4
In my case the /etc/hosts file had somehow become corrupted and the DNS lookup was failing. Repairing /etc/hosts by adding a line such as this resolved the issue: examplehostname

Where "examplehostname" is the name of my computer as reported by the command "hostname".
Reply With Quote
Old 12th June 2009, 07:08 PM
chupman Offline
Registered User
Join Date: Jun 2009
Posts: 2
I had the same issue and repairing the hosts file did the trick. Thanks for the post.
Reply With Quote

slow, sudo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sudo is slow in F11 Crunchy Carrot Using Fedora 6 5th August 2009 09:47 PM
F8 slow to boot and slow to open terminal/gedit JonR Using Fedora 8 25th March 2008 08:37 AM
how do i use sudo linux-newby Using Fedora 34 16th September 2007 02:28 PM
Slow bootup and slow system on Asus P4P800-E Deluxe with 3.4Ghz P4-HT viper_one Using Fedora 25 11th July 2007 07:58 AM
why I cannot use sudo Stevenisme Using Fedora 14 29th December 2004 07:36 AM

Current GMT-time: 20:42 (Friday, 22-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat