~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to utils/logprof.conf

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: logprof.conf 269 2006-12-12 11:05:46Z steve-beattie $
2
1
# ------------------------------------------------------------------
3
2
#
4
3
#    Copyright (C) 2004-2006 Novell/SUSE
9
8
#
10
9
# ------------------------------------------------------------------
11
10
 
 
11
[settings]
 
12
  profiledir = /etc/apparmor.d /etc/subdomain.d
 
13
  inactive_profiledir = /usr/share/doc/apparmor-profiles/extras 
 
14
  logfiles = /var/log/audit/audit.log /var/log/messages /var/log/syslog
 
15
 
 
16
  parser = /sbin/apparmor_parser /sbin/subdomain_parser
 
17
  ldd = /usr/bin/ldd
 
18
  logger = /bin/logger /usr/bin/logger
 
19
 
 
20
  # customize how file ownership permissions are presented
 
21
  # 0 - off
 
22
  # 1 - default of what ever mode the log reported
 
23
  # 2 - force the new permissions to be user
 
24
  # 3 - force all perms on the rule to be user
 
25
  default_owner_prompt = 1
 
26
 
 
27
  # custom directory locations to look for #includes
 
28
  #
 
29
  # each name should be a valid directory containing possible #include
 
30
  # candidate files under the profile dir which by default is /etc/apparmor.d.
 
31
  #
 
32
  # So an entry of my-includes will allow /etc/apparmor.d/my-includes to
 
33
  # be used by the yast UI and profiling tools as a source of #include
 
34
  # files.
 
35
  custom_includes =
 
36
 
 
37
 
 
38
[repository]
 
39
  distro         = ubuntu-intrepid
 
40
  url            = http://apparmor.test.opensuse.org/backend/api
 
41
  preferred_user = ubuntu
12
42
 
13
43
[qualifiers]
14
44
  # things will be painfully broken if bash has a profile
15
 
  /bin/bash     = iu
16
 
  /bin/ksh      = iu
 
45
  /bin/bash     = icnu
 
46
  /bin/ksh      = icnu
 
47
  /bin/dash     = icnu
17
48
 
18
49
  # these programs can't function if they're confined
19
50
  /bin/mount    = u
26
57
  /usr/lib/YaST2/servers_non_y2/ag_logprof = u
27
58
 
28
59
  # these ones shouln't have their own profiles
29
 
  /bin/awk      = i
30
 
  /bin/cat      = i
31
 
  /bin/chmod    = i
32
 
  /bin/chown    = i
33
 
  /bin/cp       = i
34
 
  /bin/gawk     = i
35
 
  /bin/grep     = i
36
 
  /bin/gunzip   = i
37
 
  /bin/gzip     = i
38
 
  /bin/kill     = i
39
 
  /bin/ln       = i
40
 
  /bin/ls       = i
41
 
  /bin/mkdir    = i
42
 
  /bin/mv       = i
43
 
  /bin/readlink = i
44
 
  /bin/rm       = i
45
 
  /bin/sed      = i
46
 
  /bin/touch    = i
47
 
  /sbin/killall5 = i
48
 
  /usr/bin/find = i
49
 
  /usr/bin/killall = i
50
 
  /usr/bin/nice = i
51
 
  /usr/bin/perl = i
52
 
  /usr/bin/tr   = i
 
60
  /bin/awk      = icn
 
61
  /bin/cat      = icn
 
62
  /bin/chmod    = icn
 
63
  /bin/chown    = icn
 
64
  /bin/cp       = icn
 
65
  /bin/gawk     = icn
 
66
  /bin/grep     = icn
 
67
  /bin/gunzip   = icn
 
68
  /bin/gzip     = icn
 
69
  /bin/kill     = icn
 
70
  /bin/ln       = icn
 
71
  /bin/ls       = icn
 
72
  /bin/mkdir    = icn
 
73
  /bin/mv       = icn
 
74
  /bin/readlink = icn
 
75
  /bin/rm       = icn
 
76
  /bin/sed      = icn
 
77
  /bin/touch    = icn
 
78
  /sbin/killall5 = icn
 
79
  /usr/bin/find = icn
 
80
  /usr/bin/killall = icn
 
81
  /usr/bin/nice = icn
 
82
  /usr/bin/perl = icn
 
83
  /usr/bin/tr   = icn
53
84
 
54
85
[required_hats]
55
 
  ^.+/sshd$                 = AUTHENTICATED EXEC PRIVSEP PRIVSEP_MONITOR
56
86
  ^.+/apache(|2|2-prefork)$ = DEFAULT_URI HANDLING_UNTRUSTED_INPUT
57
87
  ^.+/httpd(|2|2-prefork)$  = DEFAULT_URI HANDLING_UNTRUSTED_INPUT
58
88
 
59
89
[defaulthat]
60
 
  ^.+/sshd$                 = EXEC
61
90
  ^.+/apache(|2|2-prefork)$ = DEFAULT_URI
62
91
  ^.+/httpd(|2|2-prefork)$  = DEFAULT_URI
63
92
 
100
129
  ^/etc/pam.d/[^\/]+$               = /etc/pam.d/*
101
130
  ^/etc/profile.d/[^\/]+\.sh$       = /etc/profile.d/*.sh
102
131
 
103
 
[custom_includes]
104
 
  # custom directory locations to look for #includes
105
 
  #
106
 
  # One directory name per-line - each name should be a valid directory 
107
 
  # containing possble #include candidate fies under the profile dir
108
 
  # which by default is /etc/apparmor.d. 
109
 
  # So an entry of my-includes will allow /etc/apparmor.d/my-includes to 
110
 
  # be used by the yast UI and profiling tools as a source of #include 
111
 
  # files.  
112