mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
53 lines
1.3 KiB
Text
53 lines
1.3 KiB
Text
# $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 <tunables/global>
|
|
|
|
/usr/sbin/userdel {
|
|
#include <abstractions/authentication>
|
|
#include <abstractions/base>
|
|
#include <abstractions/bash>
|
|
#include <abstractions/consoles>
|
|
#include <abstractions/perl>
|
|
#include <abstractions/nameservice>
|
|
|
|
capability chown,
|
|
capability dac_override,
|
|
capability dac_read_search,
|
|
capability sys_resource,
|
|
|
|
/bin/cat mix,
|
|
/bin/bash mix,
|
|
/dev/log w,
|
|
/etc/.pwd.lock rw,
|
|
/etc/cron.deny r,
|
|
/etc/default/useradd r,
|
|
/etc/group* rwl,
|
|
/etc/gshadow* rwl,
|
|
/etc/login.defs r,
|
|
/etc/passwd* rwl,
|
|
/etc/shadow* rwl,
|
|
/etc/pwdutils/logging r,
|
|
@{HOMEDIRS}** rwl,
|
|
/proc/*/mounts r,
|
|
/usr/bin/crontab ixr,
|
|
/usr/lib*/pwdutils/*.so.* mr,
|
|
/usr/sbin/userdel rmix,
|
|
/usr/sbin/userdel-post.local ixr,
|
|
/usr/sbin/userdel-pre.local ixr,
|
|
/usr/sbin/userdel rmix,
|
|
/var/log/lastlog rw,
|
|
# XXX
|
|
/var/run/nscd.pid r,
|
|
/var/run/utmp rw,
|
|
/var/spool/mail/* wl,
|
|
}
|