Commits

Andriy Kornatskyy committed ff1bc8c

Mount EXT3 partitions securely

Comments (0)

Files changed (2)

+#!/bin/sh
+
+/bin/mount -o remount,ro /usr || \
+    echo 'Failed to remount /usr ro'
+/bin/mount -o remount,noexec /var || \
+    echo 'Failed to remount /var noexec'
+/bin/mount -o remount,noexec /tmp || \
+    echo 'Failed to remount /tmp noexec'
+
+#!/bin/sh
+
+/bin/mount -o remount,rw /usr || \
+    echo 'Failed to remount /usr rw'
+/bin/mount -o remount,exec /var || \
+    echo 'Failed to remount /var exec'
+/bin/mount -o remount,exec /tmp || \
+    echo 'Failed to remount /tmp exec'
+