From 70761a0909ac6fb5b694fd5c0619e6bd249aba83 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Nov 16 2006 14:43:13 +0000 Subject: * Thu Nov 16 2006 Dan Walsh 1.33.1-7 - Add patch by Joe Plans to make run_init use pam_acct_mgmt --- diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index a5a3651..64f4334 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -4699,6 +4699,24 @@ diff --exclude-from=exclude --exclude='*.po' --exclude='*.pot' -N -u -r nsapolic +/var/log/wtmp ~/public_html ~/.mozilla/plugins/libflashplayer.so +diff --exclude-from=exclude --exclude='*.po' --exclude='*.pot' -N -u -r nsapolicycoreutils/run_init/run_init.c policycoreutils-1.33.1/run_init/run_init.c +--- nsapolicycoreutils/run_init/run_init.c 2006-08-28 16:58:19.000000000 -0400 ++++ policycoreutils-1.33.1/run_init/run_init.c 2006-11-16 09:37:03.000000000 -0500 +@@ -132,6 +132,14 @@ + result = 1; /* user authenticated OK! */ + } + ++ /* If we were successful, call pam_acct_mgmt() to reset the ++ * pam_tally failcount. ++ */ ++ if (result && (PAM_SUCCESS != pam_acct_mgmt(pam_handle, 0)) ) { ++ fprintf(stderr, _("failed to get account information\n")); ++ exit(-1); ++ } ++ + /* We're done with PAM. Free `pam_handle'. */ + pam_end(pam_handle, PAM_SUCCESS); + diff --exclude-from=exclude --exclude='*.po' --exclude='*.pot' -N -u -r nsapolicycoreutils/scripts/genhomedircon.8 policycoreutils-1.33.1/scripts/genhomedircon.8 --- nsapolicycoreutils/scripts/genhomedircon.8 2006-08-28 16:58:19.000000000 -0400 +++ policycoreutils-1.33.1/scripts/genhomedircon.8 2006-11-14 09:54:05.000000000 -0500 diff --git a/policycoreutils.spec b/policycoreutils.spec index 7833b54..93663db 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -5,7 +5,7 @@ Summary: SELinux policy core utilities. Name: policycoreutils Version: 1.33.1 -Release: 6 +Release: 7 License: GPL Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -168,6 +168,9 @@ fi [ -x /sbin/service ] && /sbin/service restorecond condrestart %changelog +* Thu Nov 16 2006 Dan Walsh 1.33.1-7 +- Add patch by Joe Plans to make run_init use pam_acct_mgmt + * Wed Nov 15 2006 Dan Walsh 1.33.1-6 - More fixes to gui