|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo uses incorrect kerberos credential cache file, fails when configured for ldap on Cent 6 | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Ryanne Fox <ryannekfox> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.7 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Ryanne Fox
2013-07-16 17:16:02 MDT
I suspect this is because the sudoers LDAP code runs with real and effective UIDs set to zero. What is the value of the KRB5CCNAME environment variable? [rfox@client PROD ~]$ echo $KRB5CCNAME FILE:/tmp/krb5cc_108139 Please try one of the sudo-1.8.7-2.el6 rpms from ftp://ftp.sudo.ws/pub/millert/sudo/ and let me know if that works for you. Thank you for this patch. I tested it out this afternoon. It changed the behavior, but did not succeed. With sudo-1.8.7-2.el6.x86_64 [rfox@client PROD ~]$ sudo -l [sudo] password for rfox: User rfox is not allowed to run sudo on s2plpkiswapp01. Creating a symlink to /tmp/krb5cc_0 still allows it to succeed. I found a problem with the patch. I've updated the packages at ftp://ftp.sudo.ws/pub/millert/sudo/ though it may be simpler for you to just update the /usr/libexec/sudo/sudoers.so file with sudoers.so.el6.i386 or sudoers.so.el6.x86_64 I'm afraid there's no difference in behavior from the last test. There was an error in the last version. Can you try just replacing sudoers.so with the new version from ftp://ftp.sudo.ws/pub/millert/sudo/? The latest patch worked for me. Thank you! The fix is present in sudo 1.8.8b1, which available now. Fixed in sudo 1.8.8 |