HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/root/proc/thread-self/root/usr/share/apparmor/extra-profiles/usr.sbin.userdel
# 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.
#
# ------------------------------------------------------------------

abi <abi/3.0>,

include <tunables/global>

/usr/sbin/userdel {
  include <abstractions/authentication>
  include <abstractions/base>
  include <abstractions/bash>
  include <abstractions/consoles>
  include <abstractions/perl>
  include <abstractions/nameservice>
  include <abstractions/wutmp>

  capability chown,
  capability dac_override,
  capability dac_read_search,
  capability sys_resource,

  /{usr/,}bin/cat rmix,
  /{usr/,}bin/bash rmix,
  /dev/log w,
  /etc/.pwd.lock rwk,
  /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}/@{pid}/mounts r,
  /usr/bin/crontab rmix,
  /usr/lib*/pwdutils/*.so.* mr,
  /usr/sbin/userdel rmix,
  /usr/sbin/userdel-post.local rmix,
  /usr/sbin/userdel-pre.local rmix,
  # XXX
  /{,var/}run/nscd.pid r,
  /var/spool/mail/* wl,
}