Find the answer to your Linux question:
Results 1 to 4 of 4
folks, I'm using fedora 11 and for some reason when I use sudo command (e.g. sudo ls), it takes around 30 seconds or so before it executes it. I've added ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Posts
    2

    sudo command taking long time to execute

    folks,

    I'm using fedora 11 and for some reason when I use sudo command (e.g. sudo ls), it takes around 30 seconds or so before it executes it.

    I've added my user to visudo in the manner of :

    user1 ALL=(ALL) NOPASSWD: ALL

    and I don't see that being an issue. Is there something else needs to be done? I can't figure out what's wrong...btw, I'm using GNOME desktop.

    Thanks!

  2. #2
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    what command are you running? does it take 30 seconds before it starts executing, or 30 seconds to finish?
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  3. #3
    Just Joined!
    Join Date
    Sep 2009
    Posts
    2
    Any command. I found this out while running a python program but even the command sudo ls takes a long time. i.e. when I do "sudo ls" nothing happens for 20-30 seconds and then it prints out the output on the screen.

    if I run the same python program or any other command without sudo it executes right away.

  4. #4
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    I seem to remember something about sudo needing
    to check the hostname or something.

    sudo very slow - FedoraForum.org

Posting Permissions

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