remount,noexec,nosuid

what is the step by step commands to secure my /tmp dir. with noexec and nosuid,these are commands i found but unsure what to do with them.


mount -o remount,noexec,nosuid /tmp
makes this error
mount: can't find /tmp in /etc/fstab or /etc/mtab
what do i do now

 

 

 

 

Top