use must manually enable permission-hardening.service

until development finished
This commit is contained in:
Patrick Schleizer 2019-12-20 05:22:59 -05:00
parent fa6f1e1568
commit a135ae9400
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48
3 changed files with 5 additions and 5 deletions

View File

@ -2,3 +2,6 @@
## See the file COPYING for copying conditions.
disable hide-hardware-info.service
## Disable for now until development finished / tested.
disable permission-hardening.service

View File

@ -8,9 +8,7 @@ After=local-fs.target
[Service]
Type=oneshot
## Disable for now until development finished / tested.
ExecStart=/bin/true
#ExecStart=/usr/lib/security-misc/permission-hardening
ExecStart=/usr/lib/security-misc/permission-hardening
[Install]
WantedBy=sysinit.target

View File

@ -11,8 +11,7 @@ config_file="/etc/permission-hardening.conf"
echo_wrapper() {
echo "run: $@"
## TODO
#"$@"
"$@"
}
add_nosuid_statoverride_entry() {