# $Id$ # vim:syntax=apparmor # ------------------------------------------------------------------ # # Copyright (C) 2002-2005 Novell/SUSE # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License published by the Free Software Foundation. # # ------------------------------------------------------------------ #include /usr/sbin/useradd { #include #include #include #include capability sys_resource, /etc/.pwd.lock rw, /etc/default/useradd r, /etc/group* rwl, /etc/gshadow* rwl, /etc/login.defs r, /etc/passwd* rwl, /etc/shadow* rwl, /etc/skel r, /etc/skel/** r, @{HOMEDIRS}** rw, /proc/*/mounts r, /proc/filesystems r, /usr/lib/perl5/** r, /usr/sbin/adduser rix, /usr/sbin/useradd rix, /var/log/faillog rw, /var/log/lastlog rw, /var/run/nscd.pid rw, /var/run/utmp rw, /var/spool/mail/* rw, }