代碼: 選擇全部
## Bind /var/tmp to /tmp
mount -o rw,noexec,nosuid,nodev,bind /tmp/ /var/tmp/
## Remount /tmp
mount -o remount,noexec,nosuid,nodev /tmp
## Remount /dev/shm
mount -o remount,noexec,nosuid,nodev /dev/shm
代碼: 選擇全部
## Bind /var/tmp to /tmp
mount -o rw,noexec,nosuid,nodev,bind /tmp/ /var/tmp/
## Remount /tmp
mount -o remount,noexec,nosuid,nodev /tmp
## Remount /dev/shm
mount -o remount,noexec,nosuid,nodev /dev/shm