sudo taking long time

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-05-10T07:17:07Z Indexed on 2010/05/10 7:24 UTC
Read the original article Hit count: 351

Filed under:
|
|

On a Ubuntu 9 64bit Linux machine, sudo takes longer time to start. "sudo echo hi" takes 2-3 minutes. strace on sudo tells poll("/etc/pam.d/system-auth", POLLIN) timesout after 5 seconds and there are multiple calls(may be a loop) to same system call (which causes 2-3min delay).

Any idea why sudo has to wait for /etc/pam.d/system-auth? Any tunable to make sudo to timeout faster?

Thanks Samuel

© Stack Overflow or respective owner

sudo taking long time

Posted by Sam on Server Fault See other posts from Server Fault or by Sam
Published on 2010-05-10T07:17:07Z Indexed on 2010/05/10 7:34 UTC
Read the original article Hit count: 353

Filed under:
|
|

On a Ubuntu 9 64bit Linux machine, sudo takes longer time to start. "sudo echo hi" takes 2-3 minutes. strace on sudo tells poll("/etc/pam.d/system-auth", POLLIN) timesout after 5 seconds and there are multiple calls(may be a loop) to same system call (which causes 2-3min delay).

Any idea why sudo has to wait for /etc/pam.d/system-auth? Any tunable to make sudo to timeout faster?

Thanks Samuel

© Server Fault or respective owner

Related posts about linux

Related posts about pam