sudo very slow
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    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!

  2. #2
    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

  3. #3
    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:

    127.0.0.1 examplehostname

    Where "examplehostname" is the name of my computer as reported by the command "hostname".

  4. #4
    Join Date
    Jun 2009
    Posts
    2
    I had the same issue and repairing the hosts file did the trick. Thanks for the post.

Similar Threads

  1. Sudo is slow in F11
    By Crunchy Carrot in forum Using Fedora
    Replies: 6
    Last Post: 5th August 2009, 09:47 PM
  2. F8 slow to boot and slow to open terminal/gedit
    By JonR in forum Using Fedora
    Replies: 8
    Last Post: 25th March 2008, 08:37 AM
  3. how do i use sudo
    By linux-newby in forum Using Fedora
    Replies: 34
    Last Post: 16th September 2007, 02:28 PM
  4. Replies: 25
    Last Post: 11th July 2007, 07:58 AM
  5. why I cannot use sudo
    By Stevenisme in forum Using Fedora
    Replies: 14
    Last Post: 29th December 2004, 07:36 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •