Hide Forgot
Description of problem: faillock cannot be updated when you log in at any level above s0 and try to sudo Version-Release number of selected component (if applicable): 3.7.19-123.el6.noarch How reproducible: always Steps to Reproduce: 1. add faillock to /etc/pam.d/system-auth 2. ssh user/staff_r/s15:c0.c1023@localhost 3. sudo -i -r sysadm_r # with invalid password Actual results: faillock is not updated Expected results: faillock is updated Additional info: faillock is updated if you log in as s0-s15:c0.c1023 time->Fri Nov 4 16:23:15 2011 type=PATH msg=audit(1320438195.222:360507): item=0 name="/var/run/faillock/user" inode=9831173 dev=fd:00 mode=0100600 ouid=500 ogid=0 rdev=00:00 obj=system_u:object_r:faillog_t:s0 type=CWD msg=audit(1320438195.222:360507): cwd="/home/user" type=SYSCALL msg=audit(1320438195.222:360507): arch=c000003e syscall=2 success=no exit=-13 a0=7fc3b7699fe0 a1=2 a2=180 a3=8 items=1 ppid=21819 pid=21854 auid=500 uid=0 gid=502 euid=0 suid=0 fsuid=0 egid=502 sgid=502 fsgid=502 tty=pts0 ses=95 comm="sudo" exe="/usr/bin/sudo" subj=staff_u:staff_r:staff_sudo_t:s15:c0.c1023 key="access" type=AVC msg=audit(1320438195.222:360507): avc: denied { write } for pid=21854 comm="sudo" name="user" dev=dm-0 ino=9831173 scontext=staff_u:staff_r:staff_sudo_t:s15:c0.c1023 tcontext=system_u:object_r:faillog_t:s0 tclass=file
*** This bug has been marked as a duplicate of bug 750869 ***