[sudo-users] cannot sudo after short time - ldap/nis configuration

Edward Capriolo edlinuxguru at gmail.com
Wed Oct 21 09:48:58 EDT 2009

I would suggest including your /etc/ldap.conf, /etc/nsswitch.conf,
relevant pam.conf as well as any others you have configured. Your
subject is ldap/nis. are you using both LDAP & NIS? That would be
strange and could be causing your NSCD problems since conflicts can
confuse the cache.

On Wed, Oct 21, 2009 at 9:36 AM, Todd C. Miller
<Todd.Miller at courtesan.com> wrote:
> I still suspect nscd is involved here, simply because sudo doesn't
> do anything fancy with passwd lookups.  In this case is it doing
> getpwuid(getuid()).
> You could try configuring nscd.conf to log debug information and
> see if it is caching a negative response for the user in question.
>  - todd
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users

More information about the sudo-users mailing list