~ubuntu-branches/ubuntu/raring/apparmor/raring

« back to all changes in this revision

Viewing changes to profiles/abstractions/nameservice

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-03-23 16:42:01 UTC
  • Revision ID: james.westby@ubuntu.com-20070323164201-jkax6f0oku087b7l
Tags: upstream-2.0.1+510.dfsg
ImportĀ upstreamĀ versionĀ 2.0.1+510.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: nameservice 325 2007-02-01 01:00:52Z seth_arnold $
 
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
  # Many programs wish to perform nameservice-like operations, such as
 
13
  # looking up users by name or id, groups by name or id, hosts by name
 
14
  # or IP, etc. These operations may be performed through files, dns,
 
15
  # NIS, NIS+, LDAP, hesiod, wins, etc. Allow them all here.
 
16
  /etc/group              r,
 
17
  /etc/host.conf          r,
 
18
  /etc/hosts              r,
 
19
  /etc/ldap.conf          r,
 
20
  /etc/ldap.secret        r,
 
21
  /etc/nsswitch.conf      r,
 
22
  /etc/passwd             r,
 
23
  /etc/protocols          r,
 
24
  /etc/resolv.conf        r,
 
25
  /etc/samba/lmhosts      r,
 
26
  /etc/services           r,
 
27
  # all openldap config
 
28
  /etc/openldap/*         r,
 
29
  # The Name Service Cache Daemon can cache lookups, sometimes leading
 
30
  # to vast speed increases when working with network-based lookups.
 
31
  /var/run/.nscd_socket   rw,
 
32
  /var/run/nscd/socket    rw,
 
33
  /var/run/nscd/passwd    rmix,
 
34
  /var/run/nscd/group     rmix,
 
35
  # nscd renames and unlinks files in it's operation that clients will
 
36
  # have open
 
37
  /var/run/nscd/db*  rmix,
 
38
 
 
39
  # The nss libraries are sometimes used in addition to PAM; make sure
 
40
  # they are available
 
41
  /lib64/libnss_*.so*         mr,
 
42
  /lib/libnss_*.so*           mr,
 
43
  /usr/lib64/libnss_*.so*     mr,
 
44
  /usr/lib/libnss_*.so*       mr,
 
45
  /etc/default/nss            r,
 
46
 
 
47
  # nis
 
48
  #include <abstractions/nis>
 
49
 
 
50
  # winbind
 
51
  #include <abstractions/winbind>
 
52
 
 
53
  # mdnsd
 
54
  #include <abstractions/mdns>
 
55