[[email protected]: Bug#249499 acknowledged by developer (Bug#249499: fixed in pam 0.79-1)]
heya folks,
is this the right thing to have been done?
----- Forwarded message from Debian Bug Tracking System <[email protected]> -----
From: Debian Bug Tracking System <[email protected]>
To: Luke Kenneth Casson Leighton <[email protected]>
This is an automatic notification regarding your Bug report #249499: pam: [patch] - SElinux (security enhanced linux), which was filed against the pam package.
It has been closed by one of the developers, namely Steve Langasek <[email protected]>.
Source: pam
Source-Version: 0.79-1
We believe that the bug you reported is fixed in the latest version of pam, which is due to be installed in the Debian FTP archive:
libpam-cracklib_0.79-1_i386.deb
to pool/main/p/pam/libpam-cracklib_0.79-1_i386.deb
libpam-doc_0.79-1_all.deb
to pool/main/p/pam/libpam-doc_0.79-1_all.deb
libpam-modules_0.79-1_i386.deb
to pool/main/p/pam/libpam-modules_0.79-1_i386.deb
libpam-runtime_0.79-1_all.deb
to pool/main/p/pam/libpam-runtime_0.79-1_all.deb
libpam0g-dev_0.79-1_i386.deb
to pool/main/p/pam/libpam0g-dev_0.79-1_i386.deb
libpam0g_0.79-1_i386.deb
to pool/main/p/pam/libpam0g_0.79-1_i386.deb
pam_0.79-1.diff.gz
to pool/main/p/pam/pam_0.79-1.diff.gz
pam_0.79-1.dsc
to pool/main/p/pam/pam_0.79-1.dsc
pam_0.79.orig.tar.gz
to pool/main/p/pam/pam_0.79.orig.tar.gz
* New upstream version (closes: #284954, #300775).
- includes some fixes for typos (closes: #319026).
- pam_unix should now be LSB 3.0-compliant (closes: #323982).
- fixes segfaults in libpam on config file syntax errors (closes: #330097).
* Drop patches 000_bootstrap, 004_libpam_makefile_static_works,
011_pam_access, 013_pam_filter_termio_to_termios, 017_misc_fixes,
025_pam_group_conffile_name, 028_pam_mail_delete_only_when_set,
033_use_gcc_not_ld, 034_pam_dispatch_ignore_PAM_IGNORE,
035_pam_unix_security, 039_pam_mkhomedir_no_maxpathlen_required,
041_call_bootstrap, 042_pam_mkhomedir_dest_not_source_for_errors,
051_32_bit_pam_lastlog_ll_time, and
053_pam_unix_user_known_returns_user_unknown which have been
integrated upstream. * Merge one last bit of patch 053 into patch 043, where it should have been in the first place
* Patch 057: SELinux support:
- add support to pam_unix for copying SELinux security contexts when writing out new passwd/shadow files and creating lockfiles
- support calling unix_chkpwd if opening /etc/shadow fails due to SELinux permissions
- allow unix_chkpwd to authenticate for any user when in an SELinux context (hurray!); we depend on SELinux policies to prevent the helper's use as a brute force tool
- also support querying user expiration info via unix_chkpwd
- misc cleanup: clean up file descriptors when invoking unix_chkpwd (closes: #248310)
- make pam_rootok check the SELinux passwd class permissions, not just the uid
- add new pam_selinux module (closes: #249499)
* Build-depend on libselinux1-dev.
* Fix pam_getenv, so that it can read the actual format of /etc/environment instead of trying to read it using the syntax of /etc/security/pam_env.conf; thanks to Colin Watson for the patch.
Closes: #327876.
* Set LC_COLLATE=C when using alphabetic range expressions in debian/rules; bah, so *that's* what kept happening to my README file when trying to build out of svn! Closes: #295296.
* Add a reference to the text of the GPL to debian/copyright.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 3 lines · Luke Kenneth Casson Leighton
heya folks,
is this the right thing to have been done?
<snip>
Quoted 6 lines
* Patch 057: SELinux support:
- add support topam_unixfor copying SELinux security contexts when writing out new passwd/shadow files and creating lockfiles
- support callingunix_chkpwdif opening/etc/shadowfails due to SELinux permissions
- allowunix_chkpwdto authenticate for any user when in an SELinux
Quoted 8 lines
context (hurray!); we depend on SELinux policies to prevent the helper's use as a brute force tool
- also support querying user expiration info viaunix_chkpwd
- misc cleanup: clean up file descriptors when invokingunix_chkpwd(closes: #248310)
- makepam_rootokcheck the SELinux passwd class permissions, not just the uid
- add newpam_selinuxmodule (closes: #249499)
<snip>
That summary looks consistent with the SELinux-related changes in the Fedora pam package, although one would naturally need to check the code for consistency. Looking at the Fedora public CVS tree's pam package, I see that the main pam selinux patch was upstreamed into pam 0.80. But pam-pwdbselinux.patch and pam-0.80-selinux-nofail.patch are separate patches in the Fedora pam package that don't appear to be upstream yet.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · Stephen Smalley
That summary looks consistent with the SELinux-related changes in the Fedora pam package, although one would naturally need to check the code for consistency. Looking at the Fedora public CVS tree's pam package, I see that the main pam selinux patch was upstreamed into pam 0.80. But pam-pwdbselinux.patch and pam-0.80-selinux-nofail.patch are separate patches in the Fedora pam package that don't appear to be upstream yet.
The patches accepted in Debian are based in part of my port of
the patches from fedora, and Debian's PAM is now patched in a manner close to that fedora uses. And it does seem to work for my test UML virtual machines.
manoj
Signature · 8 lines
When the cup is full, carry it level. Manoj Srivastava <[email protected]> <[email protected]> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.