Bug 610862 - SELinux is preventing /sbin/unix_chkpwd "execute" access on unix_chkpwd.
Summary: SELinux is preventing /sbin/unix_chkpwd "execute" access on unix_chkpwd.
Keywords:
Status: CLOSED DUPLICATE of bug 610865
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f8e6b45bb52...
: 610864 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-02 15:57 UTC by Benjamin Kahn
Modified: 2010-07-08 14:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-08 14:46:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Benjamin Kahn 2010-07-02 15:57:21 UTC
Summary:

SELinux is preventing /sbin/unix_chkpwd "execute" access on unix_chkpwd.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by unix_chkpwd. It is not expected that this
access is required by unix_chkpwd 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:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:getty_t:s0
Target Context                system_u:object_r:chkpwd_exec_t:s0
Target Objects                unix_chkpwd [ file ]
Source                        unix_chkpwd
Source Path                   /sbin/unix_chkpwd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           pam-1.1.1-4.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-28.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.5-124.fc13.x86_64 #1 SMP Fri
                              Jun 11 09:38:12 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Fri 02 Jul 2010 11:54:00 AM EDT
Last Seen                     Fri 02 Jul 2010 11:54:00 AM EDT
Local ID                      3c94b3f0-59aa-4736-9e3c-865cb6f8753b
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1278086040.557:20): avc:  denied  { execute } for  pid=1340 comm="login" name="unix_chkpwd" dev=dm-0 ino=131562 scontext=system_u:system_r:getty_t:s0 tcontext=system_u:object_r:chkpwd_exec_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1278086040.557:20): avc:  denied  { read open } for  pid=1340 comm="login" name="unix_chkpwd" dev=dm-0 ino=131562 scontext=system_u:system_r:getty_t:s0 tcontext=system_u:object_r:chkpwd_exec_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1278086040.557:20): avc:  denied  { execute_no_trans } for  pid=1340 comm="login" path="/sbin/unix_chkpwd" dev=dm-0 ino=131562 scontext=system_u:system_r:getty_t:s0 tcontext=system_u:object_r:chkpwd_exec_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1278086040.557:20): arch=c000003e syscall=59 success=yes exit=0 a0=7f57333d1c98 a1=7fffe29a0990 a2=7f57335d7ea8 a3=7 items=0 ppid=1314 pid=1340 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=4294967295 comm="unix_chkpwd" exe="/sbin/unix_chkpwd" subj=system_u:system_r:getty_t:s0 key=(null)



Hash String generated from  catchall,unix_chkpwd,getty_t,chkpwd_exec_t,file,execute
audit2allow suggests:

#============= getty_t ==============
allow getty_t chkpwd_exec_t:file { read execute open execute_no_trans };

Comment 1 Miroslav Grepl 2010-07-07 10:44:02 UTC
*** Bug 610864 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2010-07-08 14:46:37 UTC

*** This bug has been marked as a duplicate of bug 610865 ***


Note You need to log in before you can comment on or make changes to this bug.