makepkg profile for safe AUR + firefox tweaks
[mirrors/AppArmor-Profiles.git] / usr.sbin.userdel
... / ...
CommitLineData
1# vim:syntax=apparmor
2# ------------------------------------------------------------------
3#
4# Copyright (C) 2002-2005 Novell/SUSE
5#
6# This program is free software; you can redistribute it and/or
7# modify it under the terms of version 2 of the GNU General Public
8# License published by the Free Software Foundation.
9#
10# ------------------------------------------------------------------
11
12#include <tunables/global>
13
14/usr/sbin/userdel {
15 #include <abstractions/authentication>
16 #include <abstractions/base>
17 #include <abstractions/bash>
18 #include <abstractions/consoles>
19 #include <abstractions/perl>
20 #include <abstractions/nameservice>
21 #include <abstractions/wutmp>
22
23 capability chown,
24 capability dac_override,
25 capability dac_read_search,
26 capability sys_resource,
27
28 /bin/cat rmix,
29 /bin/bash rmix,
30 /dev/log w,
31 /etc/.pwd.lock rw,
32 /etc/cron.deny r,
33 /etc/default/useradd r,
34 /etc/group* rwl,
35 /etc/gshadow* rwl,
36 /etc/login.defs r,
37 /etc/passwd* rwl,
38 /etc/shadow* rwl,
39 /etc/pwdutils/logging r,
40 @{HOMEDIRS}** rwl,
41 @{PROC}/[0-9]*/mounts r,
42 /usr/bin/crontab rmix,
43 /usr/lib*/pwdutils/*.so.* mr,
44 /usr/sbin/userdel rmix,
45 /usr/sbin/userdel-post.local rmix,
46 /usr/sbin/userdel-pre.local rmix,
47 /usr/sbin/userdel rmix,
48 # XXX
49 /{,var/}run/nscd.pid r,
50 /var/spool/mail/* wl,
51}
This page took 0.137714 seconds and 4 git commands to generate.