mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
feat: add update-cracklib
This commit is contained in:
parent
40fdd3da5e
commit
5cbe2a0ec1
36
apparmor.d/profiles-s-z/update-cracklib
Normal file
36
apparmor.d/profiles-s-z/update-cracklib
Normal file
@ -0,0 +1,36 @@
|
||||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}{s,}bin/update-cracklib
|
||||
profile update-cracklib @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}{s,}bin/cracklib-format rix,
|
||||
/{usr/,}{s,}bin/cracklib-packer rPx,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/env rix,
|
||||
/{usr/,}bin/file rix,
|
||||
/{usr/,}bin/find rix,
|
||||
/{usr/,}bin/grep rix,
|
||||
/{usr/,}bin/gzip rix,
|
||||
/{usr/,}bin/sort rix,
|
||||
/{usr/,}bin/tr rix,
|
||||
|
||||
/ r,
|
||||
/usr/share/dict/{,*} r,
|
||||
|
||||
/etc/magic r,
|
||||
/etc/cracklib/cracklib.conf r,
|
||||
|
||||
/var/cache/cracklib/{,**} rw,
|
||||
|
||||
include if exists <local/update-cracklib>
|
||||
}
|
Loading…
Reference in New Issue
Block a user