Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread Nico Kadel-Garcia
On Fri, Dec 10, 2010 at 8:43 AM, Steve Clark wrote: > Hi, > > I have a confusing problem. I have two centos 5,5 boxes. Both have > sudo.i386    1.7.2p1-9.el5_5 > installed > > I am using the same sudoers file, but the one on box A keeps trying to do > DNS lookups > whil

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread Tom H
On Fri, Dec 10, 2010 at 2:23 PM, Steve Clark wrote: > On 12/10/2010 10:40 AM, Tom H wrote: > On Fri, Dec 10, 2010 at 8:43 AM, Steve Clark wrote: >>> >>> I have a confusing problem. I have two centos 5,5 boxes. Both have >>> sudo.i386    1.7.2p1-9.el5_5 >>> installed >>

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread Steve Clark
On 12/10/2010 10:40 AM, Tom H wrote: On Fri, Dec 10, 2010 at 8:43 AM, Steve Clark wrote: I have a confusing problem. I have two centos 5,5 boxes. Both have sudo.i3861.7.2p1-9.el5_5 installed I am using the same sudoers file, but the one on box A keeps trying

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread Tom H
On Fri, Dec 10, 2010 at 8:43 AM, Steve Clark wrote: > > I have a confusing problem. I have two centos 5,5 boxes. Both have > sudo.i386    1.7.2p1-9.el5_5 > installed > > I am using the same sudoers file, but the one on box A keeps trying to do > DNS lookups while the on

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread John Hodrien
On Fri, 10 Dec 2010, Scott Robbins wrote: > Just to eliminate other possibilities--are either of these > authenticating against an LDAP server? That was entirely the line I was probing. nsswitch.conf would be telling. jh ___ CentOS mailing list CentOS

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread John Doe
From: Steve Clark > Without the: > Defaults fqdn > it hangs for a long time, this is when I don't have connection to the net, > if I have connection there is just a slight pause while tries to do the DNS > lookup. Did you compare the following files between both servers? /etc/hosts /etc/reso

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread Scott Robbins
On Fri, Dec 10, 2010 at 02:53:19PM +, John Hodrien wrote: > On Fri, 10 Dec 2010, Steve Clark wrote: > > > it hangs for a long time, this is when I don't have connection to the net, > > if I have connection there is just a slight pause while tries to do the DNS > > lookup. > > What makes you

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread John Hodrien
On Fri, 10 Dec 2010, Steve Clark wrote: > it hangs for a long time, this is when I don't have connection to the net, > if I have connection there is just a slight pause while tries to do the DNS > lookup. What makes you sure it's a DNS lookup that causes the long hang when there's no network conn

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread Steve Clark
On 12/10/2010 09:04 AM, John Doe wrote: From: Steve Clark I have a confusing problem. I have two centos 5,5 boxes. Both have sudo.i3861.7.2p1-9.el5_5 installed I am using the same sudoers file, but the one on box A keeps trying to do DNS lookups wh

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread John Doe
From: Steve Clark >I have a confusing problem. I have two centos 5,5 boxes. Both have >sudo.i3861.7.2p1-9.el5_5 installed >I am using the same sudoers file, but the one on box A keeps trying to do DNS >lookups >while the one on box B does not. How do

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread Steve Clark
OS mailing list *Subject:* [CentOS] sudo doing DNS lookup Hi, I have a confusing problem. I have two centos 5,5 boxes. Both have sudo.i3861.7.2p1-9.el5_5 installed I am using the same sudoers file, but the one on box A keeps trying to do DNS look

Re: [CentOS] sudo doing DNS lookup

2010-12-10 Thread Baird, Josh
Maybe I am missing something here.. but what does 'sudo' have to do with DNS resolution? From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Steve Clark Sent: Friday, December 10, 2010 7:44 AM To: CentOS mailing list Subject: [CentOS] sudo doing DNS loo

[CentOS] sudo doing DNS lookup

2010-12-10 Thread Steve Clark
Hi, I have a confusing problem. I have two centos 5,5 boxes. Both have sudo.i3861.7.2p1-9.el5_5 installed I am using the same sudoers file, but the one on box A keeps trying to do DNS lookups while the one on box B does not. How do I disable this