Welcome to the Linux Foundation Forum!

Edit fstab file

Options

Hello,
I am aiming to increasing security of our Linux server with nodev, nosuid and no exec options. Please find below context about fstab file.
my question is about /boot written in the UUID line while it seems to be /tmp in order to set nodev, nosuid and no exec options. In case of cltering /boot to /tmp where else do I need to change? Could I alter /boot to /tmp? Any side effects?

/dev/mapper/vg_smpp-LogVol01 / ext4 defaults 1 1

UUID=1a2ccd51-4e08-4d86-a28b-93915edfee2a /boot ext4 defaults 1 2

/dev/mapper/vg_smpp-lv_swap swap swap defaults 0 0

/dev/sda3 /u01 ext4 defaults 1 2

tmpfs /dev/shm tmpfs defaults 0 0

devpts /dev/pts devpts gid=5,mode=620 0 0

sysfs /sys sysfs defaults 0 0

proc /proc proc defaults 0 0

Appreciate for answers

Categories

Upcoming Training