fix(profile): integration tests.
This commit is contained in:
parent
86759f2ef1
commit
41ff05369d
2 changed files with 4 additions and 6 deletions
|
|
@ -10,19 +10,16 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/chfn
|
||||
profile chfn @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/authentication>
|
||||
include <abstractions/bus-system>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/authentication>
|
||||
include <abstractions/wutmp>
|
||||
|
||||
# To write records to the kernel auditing log.
|
||||
capability audit_write,
|
||||
|
||||
# To set the right permission to the files in the /etc/ dir.
|
||||
capability chown,
|
||||
capability fsetid,
|
||||
|
||||
# chfn is a SETUID binary
|
||||
capability net_admin,
|
||||
capability setuid,
|
||||
|
||||
network netlink raw,
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ profile landscape-sysinfo @{exec_path} {
|
|||
@{bin}/who rix,
|
||||
|
||||
@{lib}/@{python_name}/dist-packages/landscape/{,**/}__pycache__/ w,
|
||||
@{lib}/@{python_name}/dist-packages/landscape/{,**/}__pycache__/**.pyc w,
|
||||
@{lib}/@{python_name}/dist-packages/landscape/{,**/}__pycache__/**.pyc.@{u64} w,
|
||||
|
||||
/var/log/landscape/{,**} rw,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue