try to migrate to xattr pax markings for our stage4
This commit is contained in:
parent
dddadbeffd
commit
cf5d45a5f9
1 changed files with 4 additions and 0 deletions
|
@ -71,3 +71,7 @@ passwd -l root
|
||||||
for i in $(find /var/log -type f); do truncate -s 0 $i; done
|
for i in $(find /var/log -type f); do truncate -s 0 $i; done
|
||||||
# remove foreign manpages
|
# remove foreign manpages
|
||||||
find /usr/share/man/ -mindepth 1 -maxdepth 1 -path "/usr/share/man/man*" -prune -o -exec rm -rf {} \;
|
find /usr/share/man/ -mindepth 1 -maxdepth 1 -path "/usr/share/man/man*" -prune -o -exec rm -rf {} \;
|
||||||
|
|
||||||
|
# fine if this fails, aka non-hardened
|
||||||
|
echo 'migraging pax'
|
||||||
|
/usr/sbin/migrate-pax -m
|
||||||
|
|
Loading…
Add table
Reference in a new issue