M
Mandi
Guest
Hello,
I was following the instructions of: http://kb.odin.com/en/1410
to secure my /tmp folder in noexec mode.
When I edit /etc/fstab, I see another /tmp mounted
as:
none /tmp tmpfs size=1g 0 0
I add the line as instructed in the Knowledge base (!?)
and now my /etc/fstab looks like:
none /tmp tmpfs size=1g 0 0
/var/filesystems/tmp_fs /tmp ext3 noexec,nosuid,loop 1 1
when I df
I see 2 /tmp partitions.
/dev/sda1 972404 141324 781684 16% /
/dev/sda5 4881504 1948580 2932924 40% /usr
/dev/sda7 65384700 29728460 35656240 46% /var
/dev/sda6 4881504 1358920 3522584 28% /home
none 1048576 596 1047980 1% /tmp
none 1048576 596 1047980 1% /tmp
is the old partition taking precende on the new one?
Shall I remove the line of the old /tmp line from the fstab and then add the new one?
They look silly questions, but I don't want to mess up a 1and1, no support server.
I was following the instructions of: http://kb.odin.com/en/1410
to secure my /tmp folder in noexec mode.
When I edit /etc/fstab, I see another /tmp mounted
as:
none /tmp tmpfs size=1g 0 0
I add the line as instructed in the Knowledge base (!?)
and now my /etc/fstab looks like:
none /tmp tmpfs size=1g 0 0
/var/filesystems/tmp_fs /tmp ext3 noexec,nosuid,loop 1 1
when I df
I see 2 /tmp partitions.
/dev/sda1 972404 141324 781684 16% /
/dev/sda5 4881504 1948580 2932924 40% /usr
/dev/sda7 65384700 29728460 35656240 46% /var
/dev/sda6 4881504 1358920 3522584 28% /home
none 1048576 596 1047980 1% /tmp
none 1048576 596 1047980 1% /tmp
is the old partition taking precende on the new one?
Shall I remove the line of the old /tmp line from the fstab and then add the new one?
They look silly questions, but I don't want to mess up a 1and1, no support server.