diff --git a/profiles/apparmor/profiles/extras/usr.bin.passwd b/profiles/apparmor/profiles/extras/usr.bin.passwd index a137517c1..bdb2c6203 100644 --- a/profiles/apparmor/profiles/extras/usr.bin.passwd +++ b/profiles/apparmor/profiles/extras/usr.bin.passwd @@ -22,6 +22,8 @@ include capability chown, capability sys_resource, + capability setuid, + capability fsetid, /etc/.pwd.lock wk, /etc/pwdutils/logging r, @@ -29,6 +31,10 @@ include /etc/shadow rwl, /etc/shadow.old rwl, /etc/shadow.tmp?????? rwl, + /etc/shadow.[0-9]* rwl, + /etc/shadow.lock rwl, + /etc/shadow- rw, + /etc/shadow+ rw, @{PROC}/@{pid}/loginuid r, @@ -38,6 +44,9 @@ include /usr/share/cracklib/pw_dict.hwm r, /usr/share/cracklib/pw_dict.pwd r, /usr/share/cracklib/pw_dict.pwi r, + /etc/passwdqc.conf r, + /opt/passwdqc/*.pwq r, + /usr/sbin/nscd Px, # Site-specific additions and overrides. See local/README for details. include if exists