beansbaxter
Verified User
How do I mount /tmp and /home on a simple partition structure?
I cleared my hard drives and during the Debian 5 installation, I followed the DirectAdmin Installation instructions which suggested the following simple partition structure:
/boot 40 meg
swap 2 x memory
/ rest of drive
When I look at the "mount" command, I see the following:
Based on the output from mount, do I need to noexec,nosuid the /tmp and /home directories?
As I'm looking around after the DA install, I see that the /tmp and /home directory resides on the / partition. How do I mount /tmp and /home with noexec,nosuid in /etc/fstab?
Thanks in advance.
I cleared my hard drives and during the Debian 5 installation, I followed the DirectAdmin Installation instructions which suggested the following simple partition structure:
/boot 40 meg
swap 2 x memory
/ rest of drive
When I look at the "mount" command, I see the following:
Code:
[B]# mount[/B]
/dev/sda3 on / type ext3 (rw,errors=remount-ro,usrquota,grpquota)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
Based on the output from mount, do I need to noexec,nosuid the /tmp and /home directories?
As I'm looking around after the DA install, I see that the /tmp and /home directory resides on the / partition. How do I mount /tmp and /home with noexec,nosuid in /etc/fstab?
Thanks in advance.
Last edited: