Summary
SELinux is preventing /usr/sbin/useradd (useradd_t) "read write" to (var_log_t).
Detailed Description
SELinux denied access requested by /usr/sbin/useradd. It is not expected that this access is required by /usr/sbin/useradd and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access.
Allowing Access
Sometimes labeling problems can cause SELinux denials. You could try to restore the default system file context for , restorecon -v If this does not work, there is currently no automatic way to allow this access. Instead, you can generate a local policy module to allow this access - see FAQ.Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended. Please file a bug report against this package.
Additional Information
Code:
Source Context: system_u:system_r:useradd_t:s0
Target Context: system_u:object_r:var_log_t:s0
Target Objects: None [ file ]
Affected RPM Packages: shadow-utils-4.0.18.1-18.fc8 [application]
Policy RPM: selinux-policy-3.0.8-44.fc8
Selinux Enabled: True
Policy Type: targeted
MLS Enabled: True
Enforcing Mode: Enforcing
Plugin Name: plugins.catchall_file
Host Name: localhost.localdomain
Platform: Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686
Alert Count: 2
First Seen: Fri 28 Mar 2008 05:06:20 PM CET
Last Seen: Fri 28 Mar 2008 05:06:34 PM CET
Local ID: 1bc9d871-7a93-4bdf-9e06-9522313b8f0d
Line Numbers:
Raw Audit Messages :
avc: denied { read write } for comm=useradd dev=sda5
egid=0 euid=0 exe=/usr/sbin/useradd exit=-13
fsgid=0 fsuid=0 gid=0 items=0 name=faillog pid=7595
scontext=system_u:system_r:useradd_t:s0
sgid=0 subj=system_u:system_r:useradd_t:s0 suid=0 tclass=file tcontext=system_u:object_r:var_log_t:s0 tty=(none) uid=0
I didn't add any new user to the system,it's just two of us,me and me as root.I would like to know your opinion about this.Thanks.