[Bug 64870] Re: su segfaults when you press Ctrl-D
Thanks for helping diagnose this problem. I'm closing the bug for now. ** Changed in: shadow (Ubuntu) Assignee: (unassigned) = Kees Cook Status: Needs Info = Rejected -- su segfaults when you press Ctrl-D https://bugs.launchpad.net/bugs/64870 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64870] Re: su segfaults when you press Ctrl-D
Unfortunately, we're already using Winbind to perform authentication against a different domain for our Radius server, so I can't use that solution (tho at some point we may combine our domains or something, at which point I'll look into that again). I attempted the rebuild of the woody package, but it didn't work. I'm actually not too concerned about the crash, now that I know it's origin. So since this bug isn't actually in an Ubuntu package, it can probably be closed. [For reference, the error when building the woody package is: checking system version (for dynamic loading)... ./configure: line 1379: syntax error near unexpected token `(' ./configure: line 1379: ` case `(ac_space=' '; set) 21` in' make: *** [configure-stamp] Error 2 debuild: fatal error at line 768: ] -- su segfaults when you press Ctrl-D https://launchpad.net/bugs/64870 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64870] Re: su segfaults when you press Ctrl-D
** Changed in: shadow (Ubuntu) Status: Unconfirmed = Needs Info -- su segfaults when you press Ctrl-D https://launchpad.net/bugs/64870 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64870] Re: su segfaults when you press Ctrl-D
I can't reproduce this. Do you have any customizations to your PAM configs or extra modules? -- su segfaults when you press Ctrl-D https://launchpad.net/bugs/64870 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64870] Re: su segfaults when you press Ctrl-D
Yes, we do, sorry. Didn't think about our PAM changes! :-) We want to authenticate against a windows server, using libpam_smb. There was no libpam_smb package in Dapper, so I installed the one from Woody (there isn't one for Sarge either): libpam-smb 1.1.6-1.1woody1. The install went fine, and with the config changes below it also works fine. I've further verified that this is the cause of the problem by backing out the config change below: pressing Ctrl-D then doesn't cause su to segfault. /etc/pam.d/common-auth contains: authsufficient /lib/security/pam_smb_auth.so authsufficient pam_unix.so nullok_secure /etc/pam_smb.conf contains: (though this is likely not very interesting - just the domain and server to authenticate against) ensoft ensoft1 -- su segfaults when you press Ctrl-D https://launchpad.net/bugs/64870 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64870] Re: su segfaults when you press Ctrl-D
I think libpam_smb was replaced by the winbind package (which include pam_winbind). I suspect your specific issue is with library version differences between Woody and Edgy. (In general, it's not too safe to install cross-distribution .deb files.) If winbind doesn't work for you, you might try doing a package rebuild of the libpam-smb package: - [download the Woody orig.tar.gz, and the diff.gz for libpam-smb] - tar zxf libpam-smb*orig.tar.gz - cd libpam-smb-* - zcat ../libpam-smb*.diff.gz | patch -p1 - debuild -b -uc -us - dpkg -i ../libpam-smb*.deb ** This bug is no longer flagged as a security issue -- su segfaults when you press Ctrl-D https://launchpad.net/bugs/64870 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64870] Re: su segfaults when you press Ctrl-D
I think it could be a dup of bug #59730 -- su segfaults when you press Ctrl-D https://launchpad.net/bugs/64870 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs