diff --git a/apparmor.d/profiles-m-r/nologin b/apparmor.d/profiles-m-r/nologin new file mode 100644 index 000000000..252f9054d --- /dev/null +++ b/apparmor.d/profiles-m-r/nologin @@ -0,0 +1,16 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}{s,}bin/nologin +profile nologin @{exec_path} { + include + + @{exec_path} mr, + + include if exists +} \ No newline at end of file