|
Bugzilla – Full Text Bug Listing |
| Summary: | "Memory Fault" in Solaris 6 and Solaris 7 | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Marnix A. van Ammers <mav6> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | normal | ||
| Version: | 1.6.9 | ||
| Hardware: | Sun | ||
| OS: | Solaris 2.x | ||
| Attachments: | Patch to work around a pam bug in Solaris | ||
This appears to be a PAM-related issue. If you run configure with the --without-pam option it will use regular password authentication like 1.6.8p12 does. Created attachment 213 [details]
Patch to work around a pam bug in Solaris
Fixes a segv on Solaris 7 and earlier.
There is a bug in one of the Solaris pam modules where they use the value of the PAM_RHOST variable without first checking to see if it has been set. I've attached a patch to workaround the issue. The patch will be present in the next sudo release. |
I created Solaris packages for Solaris 6 through Solaris 10 using sudo 1.6.9p5 . I found that the "sudo" produced in Solaris 6 and Solaris 7 would say "Memory Fault" and die. On the Solaris 6 machine I compiled with gcc version 3.2.2 . On the Solaris 7 machine I compiled with gcc version 2.8.1 . In both cases I used the following configuration options: --prefix=/var/tmp/PGEsudo --sysconfdir=/usr/local/etc --with-editor=/usr/pge2/bin/vim:/usr/bin/vi --disable-root-sudo --with-timeout=600 --enable-noargs-shell --disable-shared --enable-static --with-logfac=auth --with-loglen=160 --with-ignore-dot --mandir=${prefix}/man --with-insults --with-all-insults --with-pc-insults I pulled an older version 1.6.8p12 and that version compiles and works OK in both Solaris 6 and Solaris 7. Just thought you might want to know. Marnix A. van Ammers