summarylogtreecommitdiffstats
path: root/00-screen-nosuid.hook
blob: 51908cb33f835ef969348a67c3bb6bfaf35c04d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = usr/bin/screen-*

[Action]
Description = Removing suid bit on screen...
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/xargs chmod u-s; sed -i "s/0755/0777/" /usr/lib/tmpfiles.d/screen.conf'
NeedsTargets