2006-04-11 21:52:54 +00:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Copyright (C) 2002-2005 Novell/SUSE
|
2010-08-05 14:00:02 -05:00
|
|
|
# Copyright (C) 2009-2010 Canonical Ltd.
|
2006-04-11 21:52:54 +00:00
|
|
|
#
|
|
|
|
# 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 <tunables/global>
|
|
|
|
/usr/sbin/nscd {
|
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/consoles>
|
|
|
|
#include <abstractions/nameservice>
|
2007-08-23 22:49:41 +00:00
|
|
|
#include <abstractions/ssl_certs>
|
2006-04-11 21:52:54 +00:00
|
|
|
|
2013-03-05 22:11:59 +01:00
|
|
|
deny capability block_suspend,
|
2006-04-11 21:52:54 +00:00
|
|
|
capability net_bind_service,
|
2011-08-24 00:57:42 +02:00
|
|
|
capability setgid,
|
|
|
|
capability setuid,
|
2006-04-11 21:52:54 +00:00
|
|
|
|
2008-11-05 12:03:29 +00:00
|
|
|
/etc/netgroup r,
|
2006-04-11 21:52:54 +00:00
|
|
|
/etc/nscd.conf r,
|
2006-08-04 18:13:59 +00:00
|
|
|
/usr/sbin/nscd rmix,
|
2011-07-14 07:57:57 -05:00
|
|
|
/{,var/}run/.nscd_socket wl,
|
2011-08-23 01:22:41 +02:00
|
|
|
/{,var/}run/nscd/ rw,
|
2013-03-05 22:11:59 +01:00
|
|
|
/{,var/}run/nscd/db* rwl,
|
2011-07-14 07:57:57 -05:00
|
|
|
/{,var/}run/nscd/socket wl,
|
2014-11-17 20:18:29 +01:00
|
|
|
/{var/cache,var/run,run}/nscd/{passwd,group,services,hosts,netgroup} rw,
|
2011-07-14 07:57:57 -05:00
|
|
|
/{,var/}run/{nscd/,}nscd.pid rwl,
|
2008-02-19 10:35:19 +00:00
|
|
|
/var/log/nscd.log rw,
|
2013-01-02 15:34:38 -08:00
|
|
|
@{PROC}/@{pid}/fd/ r,
|
|
|
|
@{PROC}/@{pid}/fd/* r,
|
|
|
|
@{PROC}/@{pid}/mounts r,
|
2010-08-05 14:00:02 -05:00
|
|
|
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
|
|
#include <local/usr.sbin.nscd>
|
2006-04-11 21:52:54 +00:00
|
|
|
}
|