small adjustments to the audit patch
This commit is contained in:
parent
e77fc2805e
commit
04260e2340
2 changed files with 8 additions and 5 deletions
|
@ -2111,7 +2111,7 @@ diff -urp shadow-4.1.5.1.orig/src/usermod.c shadow-4.1.5.1/src/usermod.c
|
|||
- "changing admin name in shadow group",
|
||||
- user_name, AUDIT_NO_ID, 1);
|
||||
+ audit_logger_with_group (AUDIT_GRP_MGMT, Prog,
|
||||
+ "update-admin-name-in-group",
|
||||
+ "update-admin-name-in-shadow-group",
|
||||
+ user_name, AUDIT_NO_ID, nsgrp->sg_name,
|
||||
+ SHADOW_AUDIT_SUCCESS);
|
||||
#endif
|
||||
|
@ -2125,7 +2125,7 @@ diff -urp shadow-4.1.5.1.orig/src/usermod.c shadow-4.1.5.1/src/usermod.c
|
|||
- "changing member in shadow group",
|
||||
- user_name, AUDIT_NO_ID, 1);
|
||||
+ audit_logger_with_group (AUDIT_USER_MGMT, Prog,
|
||||
+ "update-member-in-group",
|
||||
+ "update-member-in-shadow-group",
|
||||
+ user_name, AUDIT_NO_ID,
|
||||
+ nsgrp->sg_name, 1);
|
||||
#endif
|
||||
|
@ -2139,7 +2139,7 @@ diff -urp shadow-4.1.5.1.orig/src/usermod.c shadow-4.1.5.1/src/usermod.c
|
|||
- "removing user from shadow group",
|
||||
- user_name, AUDIT_NO_ID, 1);
|
||||
+ audit_logger_with_group (AUDIT_USER_MGMT, Prog,
|
||||
+ "delete-user-from-group",
|
||||
+ "delete-user-from-shadow-group",
|
||||
+ user_name, AUDIT_NO_ID,
|
||||
+ nsgrp->sg_name, 1);
|
||||
#endif
|
||||
|
@ -2153,7 +2153,7 @@ diff -urp shadow-4.1.5.1.orig/src/usermod.c shadow-4.1.5.1/src/usermod.c
|
|||
- "adding user to shadow group",
|
||||
- user_newname, AUDIT_NO_ID, 1);
|
||||
+ audit_logger_with_group (AUDIT_USER_MGMT, Prog,
|
||||
+ "add-user-to-group",
|
||||
+ "add-user-to-shadow-group",
|
||||
+ user_newname, AUDIT_NO_ID,
|
||||
+ nsgrp->sg_name, 1);
|
||||
#endif
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Utilities for managing accounts and shadow password files
|
||||
Name: shadow-utils
|
||||
Version: 4.1.5.1
|
||||
Release: 21%{?dist}
|
||||
Release: 22%{?dist}
|
||||
Epoch: 2
|
||||
URL: http://pkg-shadow.alioth.debian.org/
|
||||
Source0: http://pkg-shadow.alioth.debian.org/releases/shadow-%{version}.tar.bz2
|
||||
|
@ -238,6 +238,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_mandir}/man8/vigr.8*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 25 2014 Tomáš Mráz <tmraz@redhat.com> - 2:4.1.5.1-22
|
||||
- small adjustments to the audit patch
|
||||
|
||||
* Fri Oct 17 2014 Tomáš Mráz <tmraz@redhat.com> - 2:4.1.5.1-21
|
||||
- update auditing to cover more events and fix some incorrect audit
|
||||
records - patch by Steve Grubb (#1151580)
|
||||
|
|
Loading…
Reference in a new issue