|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo 1.6.6 and 1.6.7 do not work with ShadowPassword on HP-UX 11i (11.11) | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Rich Benoit <rbenoit3> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | normal | ||
| Version: | 1.6.7 | ||
| Hardware: | HP | ||
| OS: | HP-UX | ||
|
Description
Rich Benoit
2003-09-15 15:58:54 MDT
I was able to get around this problem by undefining HAVE_ISCOMSEC and defining HAVE_GETSPNAM. The logic in the code of getspwuid.c assumes that there are 2 choices, Trusted or normal. Instead, if getspnam is available it should be used. On a properly patched HPUX 11.11 server, getspnam will work with shadow password, trusted, or no shadowing. I changed the configure script to use getspnam() for HP-UX 11 and higher. |