feat(profiles): add nologin.

This commit is contained in:
Alexandre Pujol 2022-06-13 22:09:23 +01:00
parent 10148786d2
commit 7c2e92ba03
Failed to generate hash of commit

View file

@ -0,0 +1,16 @@
# 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/nologin
profile nologin @{exec_path} {
include <abstractions/base>
@{exec_path} mr,
include if exists <local/nologin>
}