mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:23:36 +07:00
add hardened fstab /usr/share/doc/security-misc/fstab-vm
to the documentation folder as an example not directly used by security-misc will later be used by Kicksecure VM build process https://github.com/Kicksecure/security-misc/issues/157
This commit is contained in:
parent
dcaafa6c8b
commit
039de1dc9b
41
usr/share/doc/security-misc/fstab-vm
Normal file
41
usr/share/doc/security-misc/fstab-vm
Normal file
@ -0,0 +1,41 @@
|
||||
# <file system> <mount point> <type> <options> <dump> <pass>
|
||||
|
||||
/dev/disk/by-uuid/26ada0c0-1165-4098-884d-aafd2220c2c6 / auto defaults,errors=remount-ro 0 1
|
||||
|
||||
proc /proc proc defaults 0 0
|
||||
|
||||
/dev /dev none bind 0 0
|
||||
/dev /dev none remount,nosuid,noexec 0 0
|
||||
|
||||
## noexec optional
|
||||
/dev/shm /dev/shm tmpfs nosuid,nodev,noexec 0 0
|
||||
|
||||
/dev/cdrom /mnt/cdrom0 iso9660 ro,user,noauto 0 0
|
||||
|
||||
/boot /boot none bind 0 0
|
||||
/boot /boot none remount,nosuid,nodev,noexec 0 0
|
||||
|
||||
/lib /lib none bind 0 0
|
||||
/lib /lib none remount,nosuid,nodev 0 0
|
||||
|
||||
## noexec optional
|
||||
/tmp /tmp none bind 0 0
|
||||
/tmp /tmp none remount,nosuid,nodev,noexec 0 0
|
||||
|
||||
/var /var none bind 0 0
|
||||
/var /var none remount,nosuid,nodev 0 0
|
||||
|
||||
## noexec optional
|
||||
/var/tmp /var/tmp none bind 0 0
|
||||
/var/tmp /var/tmp none remount,nosuid,nodev,noexec 0 0
|
||||
|
||||
/var/log /var/log none bind 0 0
|
||||
/var/log /var/log none remount,nosuid,nodev,noexec 0 0
|
||||
|
||||
## noexec optional
|
||||
/run /run none bind 0 0
|
||||
/run /run none remount,nosuid,nodev,noexec 0 0
|
||||
|
||||
## noexec optional
|
||||
/home /home none bind 0 0
|
||||
/home /home none remount,nosuid,nodev,noexec 0 0
|
Loading…
Reference in New Issue
Block a user