* Thu Nov 16 2006 Dan Walsh <dwalsh@redhat.com> 1.33.1-7
- Add patch by Joe Plans to make run_init use pam_acct_mgmt
This commit is contained in:
parent
28bf8bf40a
commit
70761a0909
@ -4699,6 +4699,24 @@ diff --exclude-from=exclude --exclude='*.po' --exclude='*.pot' -N -u -r nsapolic
|
|||||||
+/var/log/wtmp
|
+/var/log/wtmp
|
||||||
~/public_html
|
~/public_html
|
||||||
~/.mozilla/plugins/libflashplayer.so
|
~/.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
|
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
|
--- 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
|
+++ policycoreutils-1.33.1/scripts/genhomedircon.8 2006-11-14 09:54:05.000000000 -0500
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Summary: SELinux policy core utilities.
|
Summary: SELinux policy core utilities.
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 1.33.1
|
Version: 1.33.1
|
||||||
Release: 6
|
Release: 7
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
||||||
@ -168,6 +168,9 @@ fi
|
|||||||
[ -x /sbin/service ] && /sbin/service restorecond condrestart
|
[ -x /sbin/service ] && /sbin/service restorecond condrestart
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 16 2006 Dan Walsh <dwalsh@redhat.com> 1.33.1-7
|
||||||
|
- Add patch by Joe Plans to make run_init use pam_acct_mgmt
|
||||||
|
|
||||||
* Wed Nov 15 2006 Dan Walsh <dwalsh@redhat.com> 1.33.1-6
|
* Wed Nov 15 2006 Dan Walsh <dwalsh@redhat.com> 1.33.1-6
|
||||||
- More fixes to gui
|
- More fixes to gui
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user