Skip to content

add required privileges to process in service file#14

Merged
kravietz merged 1 commit into
kravietz:masterfrom
bmanojlovic:master
Feb 15, 2023
Merged

add required privileges to process in service file#14
kravietz merged 1 commit into
kravietz:masterfrom
bmanojlovic:master

Conversation

@bmanojlovic
Copy link
Copy Markdown
Contributor

SystemcallFilter "@PRIVILEGED" removes chown capability/systemcall from process which it requires
AF_UNIX <- syslog
AF_NETLINK <- NETLINK_AUDIT kernel audit system
ReadWritePaths=/etc <- obvious one :)
CapabilityBoundingSet=CAP_CHOWN <- pam handling changes of /etc/shadow ownership requires it

Signed-off-by: Boris Manojlovic <boris@steki.net>
@kravietz kravietz merged commit 7045233 into kravietz:master Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants